Code Duplication    Length = 3-3 lines in 2 locations

src/Entity/AddressValidation/AVAddress.php 2 locations

@@ 75-77 (lines=3) @@
72
                if ($i === 0) {
73
                    $this->addressLine = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
74
                }
75
                elseif ($i === 1) {
76
                    $this->addressLine2 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
77
                }
78
                elseif ($i === 2) {
79
                    $this->addressLine3 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
80
                }
@@ 78-80 (lines=3) @@
75
                elseif ($i === 1) {
76
                    $this->addressLine2 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
77
                }
78
                elseif ($i === 2) {
79
                    $this->addressLine3 = isset($xmlDoc->AddressLine[$i]) ? (string) $xmlDoc->AddressLine[$i] : '';
80
                }
81
            }
82
        }
83
        $this->region = isset($xmlDoc->Region) ? (string)$xmlDoc->Region : '';