Issues (367)

Providers/ValidationExtensionServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ValidationExtensionServiceProvider extends ServiceProvider
8
{
9
10
    public function register() {}
11
12
    public function boot() {
13
        $this->app->validator->resolver( function( $translator, $data, $rules,
0 ignored issues
show
The property validator does not seem to exist on Tests\Laravel\App.
Loading history...
14
                                                   $messages = array(), $customAttributes = array() ) {
15
            return new ValidatorExtended( $translator, $data, $rules, $messages,
16
                $customAttributes );
17
        } );
18
    }
19
}
20