@@ -124,7 +124,7 @@ |
||
| 124 | 124 | $values = [$street, $city, $region, $postalCode, $country]; |
| 125 | 125 | $nonEmptyValues = []; |
| 126 | 126 | foreach ($values as $value) { |
| 127 | - if($value !== ''){ |
|
| 127 | + if ($value !== '') { |
|
| 128 | 128 | $nonEmptyValues[] = $value; |
| 129 | 129 | } |
| 130 | 130 | } |
@@ -174,7 +174,7 @@ |
||
| 174 | 174 | $values = [$street, $municipality, $state, $postalCode, $country]; |
| 175 | 175 | $nonEmptyValues = []; |
| 176 | 176 | foreach ($values as $value) { |
| 177 | - if($value !== ''){ |
|
| 177 | + if ($value !== '') { |
|
| 178 | 178 | $nonEmptyValues[] = $value; |
| 179 | 179 | } |
| 180 | 180 | } |
@@ -124,30 +124,30 @@ |
||
| 124 | 124 | ( |
| 125 | 125 | (null === $this->getStreet() && null === $object->getStreet()) || |
| 126 | 126 | (is_object($this->getStreet()) && $this->getStreet() |
| 127 | - ->equals($object->getStreet())) || |
|
| 127 | + ->equals($object->getStreet())) || |
|
| 128 | 128 | (is_object($object->getStreet()) && $object->getStreet() |
| 129 | - ->equals($this->getStreet())) |
|
| 129 | + ->equals($this->getStreet())) |
|
| 130 | 130 | ) && |
| 131 | 131 | ( |
| 132 | 132 | (null === $this->getCity() && null === $object->getCity()) || |
| 133 | 133 | (is_object($this->getCity()) && $this->getCity() |
| 134 | - ->equals($object->getCity())) || |
|
| 134 | + ->equals($object->getCity())) || |
|
| 135 | 135 | (is_object($object->getCity()) && $object->getCity() |
| 136 | - ->equals($this->getCity())) |
|
| 136 | + ->equals($this->getCity())) |
|
| 137 | 137 | ) && |
| 138 | 138 | ( |
| 139 | 139 | (null === $this->getCounty() && null === $object->getCounty()) || |
| 140 | 140 | (is_object($this->getCounty()) && $this->getCounty() |
| 141 | - ->equals($object->getCounty())) || |
|
| 141 | + ->equals($object->getCounty())) || |
|
| 142 | 142 | (is_object($object->getCounty()) && $object->getCounty() |
| 143 | - ->equals($this->getCounty())) |
|
| 143 | + ->equals($this->getCounty())) |
|
| 144 | 144 | ) && |
| 145 | 145 | ( |
| 146 | 146 | (null === $this->getState() && null === $object->getState()) || |
| 147 | 147 | (is_object($this->getState()) && $this->getState() |
| 148 | - ->equals($object->getState())) || |
|
| 148 | + ->equals($object->getState())) || |
|
| 149 | 149 | (is_object($object->getState()) && $object->getState() |
| 150 | - ->equals($this->getState())) |
|
| 150 | + ->equals($this->getState())) |
|
| 151 | 151 | ) && |
| 152 | 152 | ( |
| 153 | 153 | (null === $this->getZipCode() && null === $object->getZipCode()) || |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | $values = [$street, $city, $state, $postalCode, $country]; |
| 186 | 186 | $nonEmptyValues = []; |
| 187 | 187 | foreach ($values as $value) { |
| 188 | - if($value !== ''){ |
|
| 188 | + if ($value !== '') { |
|
| 189 | 189 | $nonEmptyValues[] = $value; |
| 190 | 190 | } |
| 191 | 191 | } |