@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | public function equals(?ValueObject $object) : bool |
39 | 39 | { |
40 | - if (! $object instanceof self) { |
|
40 | + if (!$object instanceof self) { |
|
41 | 41 | return false; |
42 | 42 | } |
43 | 43 |
@@ -88,9 +88,9 @@ |
||
88 | 88 | |
89 | 89 | public function getAddress() : string |
90 | 90 | { |
91 | - $messyAddress = $this->messyAddress; |
|
91 | + $messyAddress = $this->messyAddress; |
|
92 | 92 | |
93 | - $notNull = array_filter([$this->city, $this->region, $this->country], function ($element) { |
|
93 | + $notNull = array_filter([$this->city, $this->region, $this->country], function($element) { |
|
94 | 94 | return $element !== null; |
95 | 95 | }); |
96 | 96 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | public function equals(?ValueObject $object) : bool |
39 | 39 | { |
40 | - if (! $object instanceof self) { |
|
40 | + if (!$object instanceof self) { |
|
41 | 41 | return false; |
42 | 42 | } |
43 | 43 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | public function equals(?ValueObject $object) : bool |
39 | 39 | { |
40 | - if (! $object instanceof self) { |
|
40 | + if (!$object instanceof self) { |
|
41 | 41 | return false; |
42 | 42 | } |
43 | 43 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | { |
36 | 36 | return new ArrayIterator( |
37 | 37 | array_map( |
38 | - function ($definition) { |
|
38 | + function($definition) { |
|
39 | 39 | return new Language($definition['name'], $definition['code']); |
40 | 40 | }, |
41 | 41 | $this->getLanguages() |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | */ |
63 | 63 | private function loadLanguages() : array |
64 | 64 | { |
65 | - $file = __DIR__ . '/../../../resources/languages/iso6391.php'; |
|
65 | + $file = __DIR__.'/../../../resources/languages/iso6391.php'; |
|
66 | 66 | |
67 | 67 | if (file_exists($file)) { |
68 | 68 | return require $file; |