Passed
Push — master ( 18dcf2...c234d5 )
by David
12:11 queued 12s
created
src/Rules/Captcha.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/SimpleRecaptchaV3ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.