diff options
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Controller/StoragesController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Controller/StoragesController.php b/apps/files_external/lib/Controller/StoragesController.php index bc660cd580c..802f733b228 100644 --- a/apps/files_external/lib/Controller/StoragesController.php +++ b/apps/files_external/lib/Controller/StoragesController.php @@ -270,7 +270,7 @@ abstract class StoragesController extends Controller { * * @return DataResponse */ - public function show($id, $testOnly = true) { + public function show(int $id, $testOnly = true) { try { $storage = $this->service->getStorage($id); @@ -302,7 +302,7 @@ abstract class StoragesController extends Controller { * @return DataResponse */ #[PasswordConfirmationRequired] - public function destroy($id) { + public function destroy(int $id) { try { $this->service->removeStorage($id); } catch (NotFoundException $e) { |