summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/ItemController.php2
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(