Passed
Push — master ( 5eacca...720baf )
by
unknown
11:13
created
MapTiler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,15 +124,15 @@
 block discarded – undo
124 124
     /**
125 125
      * @param array<string, \stdClass> $context
126 126
      */
127
-    private function extractFromContext(AddressBuilder &$builder, array $context): AddressBuilder
127
+    private function extractFromContext(AddressBuilder&$builder, array $context): AddressBuilder
128 128
     {
129
-        $cityContext = array_filter($context, function ($c) { return 1 === preg_match('/^city\.\d+$/', $c->id); });
129
+        $cityContext = array_filter($context, function($c) { return 1 === preg_match('/^city\.\d+$/', $c->id); });
130 130
         if (count($cityContext) > 0) {
131 131
             $city = current($cityContext);
132 132
             $builder->setLocality($city->text);
133 133
         }
134 134
 
135
-        $countryContext = array_filter($context, function ($c) { return 1 === preg_match('/^country\.\d+$/', $c->id); });
135
+        $countryContext = array_filter($context, function($c) { return 1 === preg_match('/^country\.\d+$/', $c->id); });
136 136
         if (count($countryContext) > 0) {
137 137
             $country = current($countryContext);
138 138
             $builder->setCountry($country->text);
Please login to merge, or discard this patch.