diff options
author | dartcafe <github@dartcafe.de> | 2021-05-08 23:13:52 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-05-08 23:13:52 +0300 |
commit | 6d0058ca1eb0ef936b75cae2d7339887716b4bea (patch) | |
tree | bf6040c329952746cb10f2ea590291bf855afc0d /lib/Service/ShareService.php | |
parent | cdeb5c761029577544d23df6e70e6b03a5594118 (diff) |
use psalm for static analysis
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/Service/ShareService.php')
-rw-r--r-- | lib/Service/ShareService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index d4068b52..242440cc 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -151,7 +151,7 @@ class ShareService { /** * Get share by token */ - public function get(string $token, bool $validate = false) { + public function get(string $token, bool $validate = false): Share { try { $this->share = $this->shareMapper->findByToken($token); if ($validate) { |