File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getVatId(): string
243243
244244 public function getAttributes (): array
245245 {
246- $ attributes = [
246+ return [
247247 'street ' => $ this ->getStreet (),
248248 'houseNumber ' => $ this ->getHouseNumber (),
249249 'houseNumberAddition ' => $ this ->getHouseNumberAddition (),
@@ -266,8 +266,6 @@ public function getAttributes(): array
266266 'addressLine ' => $ this ->getAddressLine (),
267267 'addressHtml ' => $ this ->getAddressHtml (),
268268 ];
269-
270- return $ attributes ;
271269 }
272270
273271 #[\ReturnTypeWillChange]
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function getValue(): array
6565 public function getAttributes (): array
6666 {
6767 $ attributes = [
68- ' address ' => $ this ->getAddress (),
68+ ... $ this ->getAddress ()-> getAttributes (),
6969 'id ' => $ this ->getId (),
7070 'label ' => $ this ->getLabel (),
7171 'value ' => $ this ->getValue (),
You can’t perform that action at this time.
0 commit comments