|
@@ -94,7 +94,7 @@ |
|
|
block discarded – undo |
|
94
|
94
|
/** @var Collection<GedcomRecord> $records */ |
|
95
|
95
|
$records = $rows->map(function (stdClass $row) use ($tree): ?GedcomRecord { |
|
96
|
96
|
return $this->data_fix_service->getRecordByType($row->xref, $tree, $row->type); |
|
97
|
|
- })->filter(static function (?GedcomRecord $record) use ($module, $params): bool { |
|
|
97
|
+ })->filter(static function (?GedcomRecord $record) use ($module, $params) : bool { |
|
98
|
98
|
return $record instanceof GedcomRecord && !$record->isPendingDeletion() && $module->doesRecordNeedUpdate($record, $params); |
|
99
|
99
|
}); |
|
100
|
100
|
|
Please login to merge, or discard this patch.