@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | // $this->loadRoutesFrom(__DIR__ . '/routes/routes.php'); |
| 37 | 37 | $this->registerRoutes(); |
| 38 | 38 | $this->publishes([ |
| 39 | - __DIR__ . '/../config/recaptcha.php' => config_path('recaptcha.php'), |
|
| 39 | + __DIR__.'/../config/recaptcha.php' => config_path('recaptcha.php'), |
|
| 40 | 40 | ]); |
| 41 | 41 | |
| 42 | 42 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public function addValidationRule() { |
| 48 | 48 | |
| 49 | - Validator::extendImplicit('recaptcha', function ($attribute, $value, $parameters, $validator) { |
|
| 49 | + Validator::extendImplicit('recaptcha', function($attribute, $value, $parameters, $validator) { |
|
| 50 | 50 | |
| 51 | 51 | return app('recaptcha')->validate($value); |
| 52 | 52 | }, trans('validation.recaptcha')); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | public function register() { |
| 61 | 61 | |
| 62 | 62 | $this->mergeConfigFrom( |
| 63 | - __DIR__ . '/../config/recaptcha.php', 'recaptcha' |
|
| 63 | + __DIR__.'/../config/recaptcha.php', 'recaptcha' |
|
| 64 | 64 | ); |
| 65 | 65 | |
| 66 | 66 | $this->registerReCaptchaBuilder(); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function registerReCaptchaBuilder() { |
| 98 | 98 | |
| 99 | - $this->app->singleton('recaptcha', function ($app) { |
|
| 99 | + $this->app->singleton('recaptcha', function($app) { |
|
| 100 | 100 | |
| 101 | 101 | $recaptcha_class = ''; |
| 102 | 102 | |