@@ -75,7 +75,7 @@ |
||
75 | 75 | /** |
76 | 76 | * Get the first media file that contains an image. |
77 | 77 | */ |
78 | - public function firstImageFile(): MediaFile|null |
|
78 | + public function firstImageFile(): MediaFile | null |
|
79 | 79 | { |
80 | 80 | return $this->mediaFiles() |
81 | 81 | ->first(static fn (MediaFile $media_file): bool => $media_file->isImage() && !$media_file->isExternal()); |
@@ -97,7 +97,7 @@ |
||
97 | 97 | { |
98 | 98 | return $individual->spouseFamilies() |
99 | 99 | // Exclude families that were created after this census date |
100 | - ->filter(fn (Family $family): bool => Date::compare($family->getMarriageDate(), $this->date()) <= 0) |
|
100 | + ->filter(fn (Family $family) : bool => Date::compare($family->getMarriageDate(), $this->date()) <= 0) |
|
101 | 101 | ->sort(Family::marriageDateComparator()) |
102 | 102 | ->last(); |
103 | 103 | } |