php-cs-fixer and phpstan
This commit is contained in:
parent
363c4fd49f
commit
7ed2be50fd
25 changed files with 102 additions and 109 deletions
|
@ -8,6 +8,6 @@ class UpdateNodeRequest extends StoreNodeRequest
|
|||
{
|
||||
public function rules(array $rules = null): array
|
||||
{
|
||||
return parent::rules($rules ?? Node::getRulesForUpdate($this->route()->parameter('node')->id));
|
||||
return parent::rules($rules ?? Node::getRulesForUpdate($this->route()->parameter('node')));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue