Passed
Pull Request — main (#4128)
by David
06:31
created
app/Functions/FunctionsPrint.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
                 $data .= self::printNoteRecord($tree, null, $nrec);
139 139
             } else {
140 140
                 $note = Registry::noteFactory()->make($nmatch[1], $tree);
141
-                $data    .= self::printNoteRecord($tree, $note);
141
+                $data .= self::printNoteRecord($tree, $note);
142 142
             }
143 143
         }
144 144
 
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
                 if (preg_match_all('/\n3 (?:_HEB|ROMN) (.+)/', $placerec, $matches)) {
353 353
                     foreach ($matches[1] as $match) {
354 354
                         $wt_place = new Place($match, $tree);
355
-                        $html     .= ' - ' . $wt_place->fullName();
355
+                        $html .= ' - ' . $wt_place->fullName();
356 356
                     }
357 357
                 }
358 358
 
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
                     // Links to external maps
367 367
                     $html .= app(ModuleService::class)
368 368
                         ->findByInterface(ModuleMapLinkInterface::class)
369
-                        ->map(fn (ModuleMapLinkInterface $module): string => ' ' . $module->mapLink($event))
369
+                        ->map(fn(ModuleMapLinkInterface $module): string => ' ' . $module->mapLink($event))
370 370
                         ->implode('');
371 371
                 }
372 372
 
@@ -465,13 +465,13 @@  discard block
 block discarded – undo
465 465
         }
466 466
 
467 467
         // Filter existing tags
468
-        $filter_fn = static fn (string $tag): bool => !in_array($tag, $unique_facts, true) || $record->facts([$tag])->isEmpty();
468
+        $filter_fn = static fn(string $tag): bool => !in_array($tag, $unique_facts, true) || $record->facts([$tag])->isEmpty();
469 469
 
470 470
         $quick_facts = array_filter($quick_facts, $filter_fn);
471 471
 
472 472
 
473 473
         // Create a label for a subtag
474
-        $label_fn = static fn (string $subtag): string => Registry::elementFactory()->make($record->tag() . ':' . $subtag)->label();
474
+        $label_fn = static fn(string $subtag): string => Registry::elementFactory()->make($record->tag() . ':' . $subtag)->label();
475 475
 
476 476
         $quick_facts = array_combine($quick_facts, array_map($label_fn, $quick_facts));
477 477
         $add_facts   = array_combine($add_facts, array_map($label_fn, $add_facts));
Please login to merge, or discard this patch.