aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-11-25 09:42:53 +0100
committerMarcel Klehr <mklehr@gmx.net>2024-11-25 09:42:53 +0100
commit9c7fd29262bc31f76b5b605e014fc7736c789a30 (patch)
treef6a3fc67e871e75fac303f70d16d06f734f89010 /apps
parent4d138a11f97becf8555705bd3d77b1a68b649997 (diff)
downloadnextcloud-server-9c7fd29262bc31f76b5b605e014fc7736c789a30.tar.gz
nextcloud-server-9c7fd29262bc31f76b5b605e014fc7736c789a30.zip
fix(external_storage): Cast id to intfix/external-storage-controller-cast-id
follow up to #49218 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/Controller/UserStoragesController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php
index 0cd060b5294..05984ad1a88 100644
--- a/apps/files_external/lib/Controller/UserStoragesController.php
+++ b/apps/files_external/lib/Controller/UserStoragesController.php
@@ -84,7 +84,7 @@ class UserStoragesController extends StoragesController {
* {@inheritdoc}
*/
#[NoAdminRequired]
- public function show($id, $testOnly = true) {
+ public function show(int $id, $testOnly = true) {
return parent::show($id, $testOnly);
}
@@ -209,7 +209,7 @@ class UserStoragesController extends StoragesController {
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
- public function destroy($id) {
+ public function destroy(int $id) {
return parent::destroy($id);
}
}