Skip to content

Commit 8081a84

Browse files
danielebarbarogithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3643574 commit 8081a84

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Rules/VatNumber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class VatNumber implements ValidationRule
99
{
1010
public function validate(string $attribute, mixed $value, \Closure $fail): void
1111
{
12-
if (!VatValidator::validate($value)) {
12+
if (! VatValidator::validate($value)) {
1313
$fail(__('The :attribute must be a valid VAT number.'));
1414
}
1515
}

src/Rules/VatNumberExist.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class VatNumberExist implements ValidationRule
1010
{
1111
public function validate(string $attribute, mixed $value, Closure $fail): void
1212
{
13-
if (!VatValidator::validateExistence($value)) {
13+
if (! VatValidator::validateExistence($value)) {
1414
$fail(__('The :attribute must be write in a valid number format {country_name}{vat_number}.'));
1515
}
1616
}

src/Rules/VatNumberFormat.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class VatNumberFormat implements ValidationRule
99
{
1010
public function validate(string $attribute, mixed $value, \Closure $fail): void
1111
{
12-
if (!VatValidator::validateFormat($value)) {
12+
if (! VatValidator::validateFormat($value)) {
1313
$fail(__('VAT number :attribute not exist.'));
1414
}
1515
}

src/VatValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class VatValidator
4949
*/
5050
public function __construct(private ?Client $client = null)
5151
{
52-
if (!$this->client instanceof Client) {
52+
if (! $this->client instanceof Client) {
5353
$this->client = new Client();
5454
}
5555
}

0 commit comments

Comments
 (0)