From 0b4d0187c5789908216d271ed1d705444b782553 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 25 Nov 2024 09:42:53 +0100 Subject: [PATCH] fix(external_storage): Cast id to int follow up to #49218 Signed-off-by: Marcel Klehr --- apps/files_external/lib/Controller/UserStoragesController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php index 0ebfd6bcc4e77..efd78dbb266ea 100644 --- a/apps/files_external/lib/Controller/UserStoragesController.php +++ b/apps/files_external/lib/Controller/UserStoragesController.php @@ -84,7 +84,7 @@ public function index() { * {@inheritdoc} */ #[NoAdminRequired] - public function show($id, $testOnly = true) { + public function show(int $id, $testOnly = true) { return parent::show($id, $testOnly); } @@ -209,7 +209,7 @@ public function update( */ #[NoAdminRequired] #[PasswordConfirmationRequired] - public function destroy($id) { + public function destroy(int $id) { return parent::destroy($id); } }