@@ -159,9 +159,9 @@ discard block |
||
| 159 | 159 | /** |
| 160 | 160 | * Country code from outside. |
| 161 | 161 | */ |
| 162 | - private string|null $country; |
|
| 162 | + private string | null $country; |
|
| 163 | 163 | |
| 164 | - public function __construct(string|null $country = null) // TODO: Add $country into the progress |
|
| 164 | + public function __construct(string | null $country = null) // TODO: Add $country into the progress |
|
| 165 | 165 | { |
| 166 | 166 | $this->country = $country; |
| 167 | 167 | } |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | */ |
| 176 | 176 | public function passes($attribute, $value) |
| 177 | 177 | { |
| 178 | - if (! $this->isIbanValid($value)) { |
|
| 178 | + if ( ! $this->isIbanValid($value)) { |
|
| 179 | 179 | return false; |
| 180 | 180 | } |
| 181 | 181 | |
@@ -214,6 +214,6 @@ discard block |
||
| 214 | 214 | return ! empty($iban) |
| 215 | 215 | || function_exists('bcmod') // Check `bcmod` is exists |
| 216 | 216 | || ctype_alpha(substr($iban, 0, 2)) // |
| 217 | - || strlen($iban) !== $this->ibanLengthByCountry[$countryCode]; |
|
| 217 | + || strlen($iban) !== $this->ibanLengthByCountry[ $countryCode ]; |
|
| 218 | 218 | } |
| 219 | 219 | } |