Skip to content

Commit 56bade6

Browse files
Fixed syntax error
1 parent 7e7d453 commit 56bade6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ use MailboxValidatorBundle\Validator\MBVFree;
8181

8282
## Copyright
8383

84-
Copyright (C) 2024 by MailboxValidator.com
84+
Copyright (C) 2025 by MailboxValidator.com

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
"MailboxValidatorBundle\\Tests\\": "Tests/"
3939
}
4040
},
41-
"version": "2.1.0"
41+
"version": "2.1.1"
4242
}

src/Validator/MBVFreeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function validate(mixed $value, Constraint $constraint): void
3030
if (! $results->is_free) {
3131
return;
3232
}
33-
} else if ((isset($results->error_code)) && (trim($results->error_code) != ''))
33+
} else if ((isset($results->error_code)) && (trim($results->error_code) != '')) {
3434
return;
3535
}
3636

src/Validator/MBVSingleValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function validate(mixed $value, Constraint $constraint): void
3030
if ($results->status) {
3131
return;
3232
}
33-
} else if ((isset($results->error_code)) && (trim($results->error_code) != ''))
33+
} else if ((isset($results->error_code)) && (trim($results->error_code) != '')) {
3434
return;
3535
}
3636

0 commit comments

Comments
 (0)