diff --git a/src/ServiceProviders/LaravelBaseServiceProvider.php b/src/ServiceProviders/LaravelBaseServiceProvider.php index 977798a..bbf163f 100755 --- a/src/ServiceProviders/LaravelBaseServiceProvider.php +++ b/src/ServiceProviders/LaravelBaseServiceProvider.php @@ -46,8 +46,8 @@ public function boot() { //Extend the Validator $this->app->validator->resolver( - function ($translator, $data, $rules, $messages) { - return new Validator($translator, $data, $rules, $messages); + function ($translator, $data, $rules, $messages, $customAttributes) { + return new Validator($translator, $data, $rules, $messages, $customAttributes); } ); }