Skip to content

Commit

Permalink
style patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjik committed Nov 3, 2015
1 parent 84df647 commit 9726100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/app/Providers/AppServiceProvider.php
Expand Up @@ -23,10 +23,11 @@ class AppServiceProvider extends ServiceProvider
{
public function boot()
{
$this->app->extend('validator', function(Factory $validator){
$this->app->extend('validator', function (Factory $validator) {
$validator->resolver(function ($translator, $data, $rules, $messages, $customAttributes) {
return new SpiraValidator($translator, $data, $rules, $messages, $customAttributes);
});

return $validator;
});
}
Expand Down

0 comments on commit 9726100

Please sign in to comment.