Skip to content

Commit

Permalink
Compatible with Laravel 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Jul 31, 2020
1 parent bd189c9 commit 59d5201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frozennode/Administrator/Validator.php
Expand Up @@ -130,7 +130,7 @@ public function validateDirectory($attribute, $value, $parameters)
/**
* Validates that an item is an array.
*/
public function validateArray($attribute, $value)
public function validateArray($attribute, $value, $parameters = [])
{
return is_array($value);
}
Expand Down

0 comments on commit 59d5201

Please sign in to comment.