chore: add phpstan static analysis minimum (#4511)
This commit is contained in:
parent
3f7e2a565f
commit
a1a52754ad
67 changed files with 561 additions and 279 deletions
|
@ -11,7 +11,9 @@ class UpdateLocationRequest extends StoreLocationRequest
|
|||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
$locationId = $this->route()->parameter('location')->id;
|
||||
/** @var Location $location */
|
||||
$location = $this->route()->parameter('location');
|
||||
$locationId = $location->id;
|
||||
|
||||
return collect(Location::getRulesForUpdate($locationId))->only([
|
||||
'short',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue