@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | $anniversary_facts = $this->calendar_service->getCalendarEvents($ged_year->minimumJulianDay(), $ged_year->maximumJulianDay(), $filterev, $tree); |
292 | 292 | } |
293 | 293 | |
294 | - $anniversary_facts = $this->applyFilter($anniversary_facts, $filterof, $filtersx); |
|
294 | + $anniversary_facts = $this->applyFilter($anniversary_facts, $filterof, $filtersx); |
|
295 | 295 | $anniversaries = Collection::make($anniversary_facts) |
296 | 296 | ->unique() |
297 | 297 | ->sort(static function (Fact $x, Fact $y): int { |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | */ |
468 | 468 | private function applyFilter(array $facts, string $filterof, string $filtersx): array |
469 | 469 | { |
470 | - $filtered = []; |
|
470 | + $filtered = []; |
|
471 | 471 | $hundred_years_ago = Carbon::now()->subYears(100)->julianDay(); |
472 | 472 | foreach ($facts as $fact) { |
473 | 473 | $record = $fact->record(); |
@@ -519,7 +519,7 @@ discard block |
||
519 | 519 | $html = ''; |
520 | 520 | |
521 | 521 | foreach ($list as $xref => $facts) { |
522 | - $tmp = GedcomRecord::getInstance((string) $xref, $tree); |
|
522 | + $tmp = GedcomRecord::getInstance((string) $xref, $tree); |
|
523 | 523 | $html .= $tag1 . '<a href="' . e($tmp->url()) . '">' . $tmp->fullName() . '</a> '; |
524 | 524 | $html .= '<div class="indent">' . $facts . '</div>' . $tag2; |
525 | 525 | } |
@@ -59,6 +59,6 @@ |
||
59 | 59 | * |
60 | 60 | * @return Submission |
61 | 61 | */ |
62 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission; |
|
62 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission; |
|
63 | 63 | |
64 | 64 | } |
@@ -59,5 +59,5 @@ |
||
59 | 59 | * |
60 | 60 | * @return Header |
61 | 61 | */ |
62 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header; |
|
62 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header; |
|
63 | 63 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @return GedcomRecord |
52 | 52 | */ |
53 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): GedcomRecord; |
|
53 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : GedcomRecord; |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * Create a GedcomRecord object from a row in the database. |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function __construct(SearchService $search_service) |
44 | 44 | { |
45 | - $this->search_service = $search_service; |
|
45 | + $this->search_service = $search_service; |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -69,7 +69,7 @@ |
||
69 | 69 | */ |
70 | 70 | public function __construct(ClipboardService $clipboard_service) |
71 | 71 | { |
72 | - $this->clipboard_service = $clipboard_service; |
|
72 | + $this->clipboard_service = $clipboard_service; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |