|
@@ 89-95 (lines=7) @@
|
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
// Return empty collection if address was not found |
| 89 |
|
if (null === $data['lat'] |
| 90 |
|
&& null === $data['lng'] |
| 91 |
|
&& '(Unknown City?)' === $data['city'] |
| 92 |
|
&& '(Unknown Country?)' === $data['country_name'] |
| 93 |
|
&& 'XX' === $data['country_code']) { |
| 94 |
|
return new AddressCollection([]); |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
// Return empty collection if address was not found |
| 98 |
|
if (null === $data['lat'] |
|
@@ 98-104 (lines=7) @@
|
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
// Return empty collection if address was not found |
| 98 |
|
if (null === $data['lat'] |
| 99 |
|
&& null === $data['lng'] |
| 100 |
|
&& '(Private Address)' === $data['city'] |
| 101 |
|
&& '(Private Address)' === $data['country_name'] |
| 102 |
|
&& 'XX' === $data['country_code']) { |
| 103 |
|
return new AddressCollection([]); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
return new AddressCollection([ |
| 107 |
|
Address::createFromArray([ |