Fix tests on PHP 5.6
This commit is contained in:
parent
4e96be7f3c
commit
360398f834
|
|
@ -32,9 +32,9 @@ class ProfaneValidatorBuilder
|
|||
*/
|
||||
public function validate(array $parameters)
|
||||
{
|
||||
list($attribute, $text, $parameters) = $parameters;
|
||||
list($attribute, $text, $dictionaries) = $parameters;
|
||||
|
||||
return $this->build()->validate($attribute, $text, $parameters);
|
||||
return $this->build()->validate($attribute, $text, $dictionaries);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue