Skip to content

Commit

Permalink
Fixed Registation of custom validators in SupportServiceProvider to b…
Browse files Browse the repository at this point in the history
…e Lumen compatible
  • Loading branch information
micheleangioni committed May 18, 2016
1 parent dfb8f29 commit b39e641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicheleAngioni/Support/SupportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function registerHelpers()

public function registerCustomValidators()
{
$validator = $this->app->make('Illuminate\Validation\Factory');
$validator = $this->app->make('validator');

$validator->resolver(function ($translator, $data, $rules, $messages) {
$messages = [
Expand Down

0 comments on commit b39e641

Please sign in to comment.