@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | public function findCountryById(int $id): ?Country |
53 | 53 | { |
54 | - $collection = $this->getCountries()->filter(function (Country $country) use ($id) { |
|
54 | + $collection = $this->getCountries()->filter(function(Country $country) use ($id) { |
|
55 | 55 | return $country->getId() === $id; |
56 | 56 | }); |
57 | 57 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | $name = mb_strtoupper($name, 'UTF-8'); |
74 | 74 | |
75 | - $collection = $this->countries->filter(function (Country $country) use ($name) { |
|
75 | + $collection = $this->countries->filter(function(Country $country) use ($name) { |
|
76 | 76 | return $country->getName() === $name; |
77 | 77 | }); |
78 | 78 | |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | */ |
91 | 91 | public function findCountryByIsoAlpha2(string $isoAlpha2): ?Country |
92 | 92 | { |
93 | - $collection = $this->getCountries()->filter(function (Country $country) use ($isoAlpha2) { |
|
93 | + $collection = $this->getCountries()->filter(function(Country $country) use ($isoAlpha2) { |
|
94 | 94 | return $country->getIsoAlpha2() === $isoAlpha2; |
95 | 95 | }); |
96 | 96 |