fix(external_storage): Cast id to int

follow up to #49218

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/49464/head
Marcel Klehr 2024-11-25 09:42:53 +07:00
parent 4d138a11f9
commit 9c7fd29262
1 changed files with 2 additions and 2 deletions

@ -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);
}
}