Passed
Push — main ( 3ca82d...4b56fb )
by Greg
07:45
created
app/Http/RequestHandlers/DataFixUpdateAll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         /** @var Collection<GedcomRecord> $records */
94 94
         $records = $rows->map(function (object $row) use ($tree): ?GedcomRecord {
95 95
             return $this->data_fix_service->getRecordByType($row->xref, $tree, $row->type);
96
-        })->filter(static function (?GedcomRecord $record) use ($module, $params): bool {
96
+        })->filter(static function (?GedcomRecord $record) use ($module, $params) : bool {
97 97
             return $record instanceof GedcomRecord && !$record->isPendingDeletion() && $module->doesRecordNeedUpdate($record, $params);
98 98
         });
99 99
 
Please login to merge, or discard this patch.
app/Module/LifespansChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@
 block discarded – undo
267 267
 
268 268
         $lifespans = $this->layoutIndividuals($individuals);
269 269
 
270
-        $callback = static fn (int $carry, object $item): int => max($carry, $item->row);
270
+        $callback = static fn(int $carry, object $item): int => max($carry, $item->row);
271 271
         $max_rows = array_reduce($lifespans, $callback, 0);
272 272
 
273 273
         $count    = count($xrefs);
Please login to merge, or discard this patch.