Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-08 23:13:52 +0300
committerdartcafe <github@dartcafe.de>2021-05-08 23:13:52 +0300
commit6d0058ca1eb0ef936b75cae2d7339887716b4bea (patch)
treebf6040c329952746cb10f2ea590291bf855afc0d /lib/Service/ShareService.php
parentcdeb5c761029577544d23df6e70e6b03a5594118 (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.php2
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) {