Passed
Push — master ( fe8c79...c4382a )
by Igor
04:34
created
src/Parser/DomParser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
          */
210 210
         $nodes = $dom->find(static::LAWYER_DETAIL_SELECTOR)->toArray();
211 211
 
212
-        $nodes = array_filter($nodes, static function (HtmlNode $htmlNode) {
212
+        $nodes = array_filter($nodes, static function(HtmlNode $htmlNode) {
213 213
             return strpos($htmlNode->getAttribute('class'), static::LAWYER_DETAIL_NAME_FIELD) === false;
214 214
         });
215 215
 
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      */
242 242
     protected function getLocationByRegisterNumber(string $registerNumber, array $locations): ?Location
243 243
     {
244
-        [$locationId,] = explode('/', $registerNumber);
244
+        [$locationId, ] = explode('/', $registerNumber);
245 245
 
246 246
         foreach ($locations as $location) {
247 247
             if ($location->getId() === $locationId) {
@@ -261,13 +261,13 @@  discard block
 block discarded – undo
261 261
 
262 262
         $nodes = array_filter(
263 263
             $nodes,
264
-            static function (HtmlNode $htmlNode) {
264
+            static function(HtmlNode $htmlNode) {
265 265
                 return $htmlNode->getAttribute('value');
266 266
             }
267 267
         );
268 268
 
269 269
         return array_map(
270
-            static function (HtmlNode $htmlNode) {
270
+            static function(HtmlNode $htmlNode) {
271 271
                 $id = trim($htmlNode->getAttribute('value'));
272 272
 
273 273
                 $name = $htmlNode->text();
Please login to merge, or discard this patch.