Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Apr 19, 2022
1 parent ffd31df commit 6b77569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ protected function generalCreateChecks(IShare $share) {
} elseif ($share->getShareType() === IShare::TYPE_DECK) {
} else if ($this->factory->getProviderForType($share->getShareType())) {
} else {
throw new \InvalidArgumentException('unknown share type');
}
// We cannot handle other types yet
throw new \InvalidArgumentException('unknown share type');
}

// Verify the initiator of the share is set
Expand Down

0 comments on commit 6b77569

Please sign in to comment.