Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(external_storage): Cast id to int
follow up to #49218

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 5, 2024
commit e876c8fff1c17b1dd5cb6af0a5629245a2eca7f6
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);
}
}
Loading