Passed
Push — 1.x ( 461df0...b89f0d )
by
unknown
04:18 queued 48s
created
src/Rules/ValidIban.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function passes($attribute, $value)
157 157
     {
158
-        if (! $this->isIbanValid($value)) {
158
+        if ( ! $this->isIbanValid($value)) {
159 159
 
160 160
             return false;
161 161
         }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     {
181 181
         $countryCode = substr($iban, 0, 2);
182 182
 
183
-        return ! (! function_exists('bcmod') || empty($iban) || ! ctype_alpha(substr($iban, 0, 2)) ||
184
-            strlen($iban) != $this->ibanLengthByCountry[$countryCode]);
183
+        return ! ( ! function_exists('bcmod') || empty($iban) || ! ctype_alpha(substr($iban, 0, 2)) ||
184
+            strlen($iban) != $this->ibanLengthByCountry[ $countryCode ]);
185 185
     }
186 186
 }
Please login to merge, or discard this patch.