Skip to content

Commit 5b77a2f

Browse files
committed
#59 - cs fix
1 parent c26412e commit 5b77a2f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Customer/CustomerValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function checkIban(CustomerEntity $entity)
122122
if ($entity->bankIban) {
123123
$iban = new Iban($entity->bankIban);
124124
$validator = new Validator();
125-
if(!$validator->validate($iban)) {
125+
if (!$validator->validate($iban)) {
126126
throw new MissingPropertyException('The property bankIban is not valid!');
127127
}
128128
}

tests/Customer/CustomerValidationTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
namespace FastBillSdkTest\Customer;
55

6-
use FastBillSdk\Common\MissingPropertyException;
76
use FastBillSdk\Customer\CustomerEntity;
8-
use FastBillSdk\Customer\CustomerSearchStruct;
9-
use FastBillSdk\Customer\CustomerService;
107
use FastBillSdk\Customer\CustomerValidator;
118
use FastBillSdkTest\Common\BaseTestTrait;
129
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)