diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-11-25 11:28:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 11:28:54 +0100 |
commit | 8502fe48c2d8c2a96c8ca5f66ff3136c02ef3390 (patch) | |
tree | 385474d8ca5506655e64edb7bd5b7b053d5f5587 /apps | |
parent | 6f036a0a8a1099e8dce9e685095d327b078a59f9 (diff) | |
parent | 9c7fd29262bc31f76b5b605e014fc7736c789a30 (diff) | |
download | nextcloud-server-8502fe48c2d8c2a96c8ca5f66ff3136c02ef3390.tar.gz nextcloud-server-8502fe48c2d8c2a96c8ca5f66ff3136c02ef3390.zip |
Merge pull request #49464 from nextcloud/fix/external-storage-controller-cast-id
fix(external_storage): Cast id to int
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Controller/UserStoragesController.php | 4 |
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); } } |