Passed
Push — main ( 98c11d...80b66f )
by Vasil
03:34
created
src/Service/Location/Country/FindCountryResponse.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.