Skip to content

Commit 4f15c64

Browse files
committed
Update AVAddress.php
1 parent 4f15978 commit 4f15c64

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Entity/AddressValidation/AVAddress.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ public function __construct(\SimpleXMLElement $xmlDoc)
7171
for ($i = 0, $len = count($xmlDoc->AddressLine); $i < $len; $i++) {
7272
if ($i === 0) {
7373
$this->addressLine = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
74-
}
75-
elseif ($i === 1) {
74+
} elseif ($i === 1) {
7675
$this->addressLine2 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
77-
}
78-
elseif ($i === 2) {
76+
} elseif ($i === 2) {
7977
$this->addressLine3 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
8078
}
8179
}

0 commit comments

Comments
 (0)