diff options
author | mnassabain <34754819+mnassabain@users.noreply.github.com> | 2021-03-19 17:29:07 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | 7f21574615f0ed9d5e2fa218f3ed018600b58a42 (patch) | |
tree | 9f29520bbace484ab8f4bdf47c6d92f6e026a303 /lib/Controller/ItemController.php | |
parent | 4d0a82d4291d49106d6077395ae99fc3e9c7a3ba (diff) |
🎨 Type hint ItemController share function
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Controller/ItemController.php')
-rw-r--r-- | lib/Controller/ItemController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ItemController.php b/lib/Controller/ItemController.php index a437bf3ff..cf4fe2237 100644 --- a/lib/Controller/ItemController.php +++ b/lib/Controller/ItemController.php @@ -333,7 +333,7 @@ class ItemController extends Controller * @param int $itemId Item to share * @param string $shareRecipientId User to share the item with */ - public function share($itemId, $shareRecipientId) + public function share(int $itemId, string $shareRecipientId) { try { $this->shareService->shareItemWithUser( |