Skip to content

Commit

Permalink
fix(external_storage): Cast id to int
Browse files Browse the repository at this point in the history
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Nov 25, 2024
1 parent 7bebbc1 commit 247ac7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files_external/lib/Controller/UserStoragesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function index() {
*
* {@inheritdoc}
*/
public function show($id, $testOnly = true) {
public function show(int $id, $testOnly = true) {
return parent::show($id, $testOnly);
}

Expand Down Expand Up @@ -233,7 +233,7 @@ public function update(
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
public function destroy($id) {
public function destroy(int $id) {
return parent::destroy($id);
}
}

0 comments on commit 247ac7c

Please sign in to comment.