@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public function passes($attribute, $response) |
17 | 17 | { |
18 | - if (! config('simple-recaptcha-v3.active')) { |
|
18 | + if (!config('simple-recaptcha-v3.active')) { |
|
19 | 19 | return true; |
20 | 20 | } |
21 | 21 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | $this->serviceResponse = $this->getResponse(new CaptchaService()); |
29 | 29 | |
30 | - if (! empty($this->serviceResponse['error-codes'])) { |
|
30 | + if (!empty($this->serviceResponse['error-codes'])) { |
|
31 | 31 | return false; |
32 | 32 | } |
33 | 33 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | return false; |
36 | 36 | } |
37 | 37 | |
38 | - if (! $this->serviceResponse['success'] || $this->serviceResponse['score'] < config('simple-recaptcha-v3.minimum_score')) { |
|
38 | + if (!$this->serviceResponse['success'] || $this->serviceResponse['score'] < config('simple-recaptcha-v3.minimum_score')) { |
|
39 | 39 | return false; |
40 | 40 | } |
41 | 41 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | ], 'lang'); |
27 | 27 | } |
28 | 28 | |
29 | - Blade::directive('captcha', function ($action) { |
|
29 | + Blade::directive('captcha', function($action) { |
|
30 | 30 | return "<?php echo view('simple-recaptcha-v3::captcha', ['action' => {$action}]); ?>"; |
31 | 31 | }); |
32 | 32 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'simple-recaptcha-v3'); |
39 | 39 | |
40 | - $this->app->singleton('simple-recaptcha-v3', function () { |
|
40 | + $this->app->singleton('simple-recaptcha-v3', function() { |
|
41 | 41 | return new SimpleRecaptchaV3; |
42 | 42 | }); |
43 | 43 | } |