Skip to content

Commit

Permalink
Merge pull request #2 from laravel-validators/analysis-X0pxQn
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
brayniverse authored Sep 1, 2016
2 parents 558126a + ac927a0 commit c8b9c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValidationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function registerRule($rule, $validator)
private function getValidatorMessage($validator)
{
if (! method_exists($validator, 'message')) {
return null;
return;
}

return call_user_func([$validator, 'message']);
Expand Down

0 comments on commit c8b9c39

Please sign in to comment.