@@ -155,7 +155,7 @@ discard block |
||
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 |
||
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 | } |