|
@@ -166,7 +166,7 @@ |
|
|
block discarded – undo |
|
166
|
166
|
private function convertAddress(Address $address): \Generator |
|
167
|
167
|
{ |
|
168
|
168
|
foreach ($address->toArray() as $key => $value) { |
|
169
|
|
- if ($key === 'index' && ! \preg_match(self::RUSSIAN_POSTAL_CODE, $value)) { |
|
|
169
|
+ if ($key === 'index' && !\preg_match(self::RUSSIAN_POSTAL_CODE, $value)) { |
|
170
|
170
|
yield 'str-index-to' => $value; |
|
171
|
171
|
} elseif ($key === 'mail-direct') { |
|
172
|
172
|
yield $key => $value; |
Please login to merge, or discard this patch.