Skip to content

Commit

Permalink
Fix bad argument message for controller validate. Fixes #482
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed May 19, 2017
1 parent bbb3bbc commit 5e16d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ protected function loadHelpers()
*
* @return bool
*/
public function validate(RequestInterface $request, $rules, array $messages = null): bool
public function validate(RequestInterface $request, $rules, array $messages = []): bool
{
$this->validator = Services::validation();

Expand Down

0 comments on commit 5e16d4b

Please sign in to comment.