Passed
Branch master (2a2473)
by Marcus
04:25
created
Category
src/ZxcvbnServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $zxcvbn = $zxcvbn->passwordStrength($value);
24 24
             $target = 5;
25 25
 
26
-            if(isset($parameters[0])) {
26
+            if (isset($parameters[0])) {
27 27
                 $target = $parameters[0];
28 28
             }
29 29
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             $email = null;
43 43
             $username = null;
44 44
 
45
-            if(isset($parameters[0])) {
45
+            if (isset($parameters[0])) {
46 46
                 $email = $parameters[0];
47 47
                 $username = $parameters[1];
48 48
             }
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
             $zxcvbn = new ZxcvbnPhp();
51 51
             $zxcvbn = $zxcvbn->passwordStrength($value, [$username, $email]);
52 52
 
53
-            if(isset($zxcvbn['match_sequence'][0])) {
53
+            if (isset($zxcvbn['match_sequence'][0])) {
54 54
                 $dictionary = $zxcvbn['match_sequence'][0];
55
-                if(isset($dictionary->dictionaryName)) {
55
+                if (isset($dictionary->dictionaryName)) {
56 56
                     return false;
57 57
                 }
58 58
             }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function register()
76 76
     {
77
-        $this->app->bind('zxcvbn', function ($app) {
77
+        $this->app->bind('zxcvbn', function($app) {
78 78
             return new ZxcvbnPhp();
79 79
         });
80 80
     }
Please login to merge, or discard this patch.