Skip to content

Commit

Permalink
remove violation(s) of type: elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
shokri-navid committed May 19, 2022
1 parent d23b15e commit 13b2809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ protected function generalCreateChecks(IShare $share) {
}
} elseif ($share->getShareType() === IShare::TYPE_ROOM) {
} elseif ($share->getShareType() === IShare::TYPE_DECK) {
} else if ($this->factory->getProviderForType($share->getShareType())) {
} elseif ($this->factory->getProviderForType($share->getShareType())) {
} else {
// We cannot handle other types yet
throw new \InvalidArgumentException('unknown share type');
Expand Down

0 comments on commit 13b2809

Please sign in to comment.