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 Nov 25, 2024
commit 9c7fd29262bc31f76b5b605e014fc7736c789a30
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function index() {
* {@inheritdoc}
*/
#[NoAdminRequired]
public function show($id, $testOnly = true) {
public function show(int $id, $testOnly = true) {
return parent::show($id, $testOnly);
}

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