diff --git a/src/app/Http/Controllers/Operations/ShowOperation.php b/src/app/Http/Controllers/Operations/ShowOperation.php index d2eedc72d8..bd573b2f0a 100644 --- a/src/app/Http/Controllers/Operations/ShowOperation.php +++ b/src/app/Http/Controllers/Operations/ShowOperation.php @@ -65,7 +65,7 @@ protected function setupShowDefaults() /** * Display the specified resource. * - * @param int $id + * @param int|string $id * @return \Illuminate\Contracts\View\View */ public function show($id) diff --git a/src/app/Http/Controllers/Operations/UpdateOperation.php b/src/app/Http/Controllers/Operations/UpdateOperation.php index f3c622a9c5..6913773329 100644 --- a/src/app/Http/Controllers/Operations/UpdateOperation.php +++ b/src/app/Http/Controllers/Operations/UpdateOperation.php @@ -57,7 +57,7 @@ protected function setupUpdateDefaults() /** * Show the form for editing the specified resource. * - * @param int $id + * @param int|string $id * @return \Illuminate\Contracts\View\View */ public function edit($id) diff --git a/src/app/Library/CrudPanel/Traits/Read.php b/src/app/Library/CrudPanel/Traits/Read.php index fa30de949d..1c64346ae9 100644 --- a/src/app/Library/CrudPanel/Traits/Read.php +++ b/src/app/Library/CrudPanel/Traits/Read.php @@ -64,7 +64,7 @@ public function getCurrentEntryWithLocale() /** * Find and retrieve an entry in the database or fail. * - * @param int The id of the row in the db to fetch. + * @param int|string The id of the row in the db to fetch. * @return \Illuminate\Database\Eloquent\Model The row in the db. */ public function getEntry($id) @@ -116,7 +116,7 @@ public function getModelWithCrudPanelQuery() /** * Find and retrieve an entry in the database or fail. * - * @param int The id of the row in the db to fetch. + * @param int|string The id of the row in the db to fetch. * @return \Illuminate\Database\Eloquent\Model The row in the db. */ public function getEntryWithoutFakes($id)