Skip to content

Commit 9c1b7c9

Browse files
marcelklehrblizzz
authored andcommitted
fix(external_storage): Cast id to int
follow up to #49218 Signed-off-by: Marcel Klehr <mklehr@gmx.net> [skip ci]
1 parent 414e320 commit 9c1b7c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_external/lib/Controller/UserStoragesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function update(
233233
*/
234234
#[NoAdminRequired]
235235
#[PasswordConfirmationRequired]
236-
public function destroy($id) {
236+
public function destroy(int $id) {
237237
return parent::destroy($id);
238238
}
239239
}

0 commit comments

Comments
 (0)