Completed
Push — develop ( 6c501a...8f1205 )
by Greg
10:45
created
app/Http/RequestHandlers/AddSpouseToFamilyPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         $spouse            = $family->spouses()->first();
73 73
         assert($spouse instanceof Individual);
74 74
         $names      = $surname_tradition->newSpouseNames($spouse, $sex);
75
-        $name_facts = array_map(fn (string $gedcom): Fact => new Fact($gedcom, $dummyi, ''), $names);
75
+        $name_facts = array_map(fn(string $gedcom): Fact => new Fact($gedcom, $dummyi, ''), $names);
76 76
 
77 77
         $facts = [
78 78
             'i' => [
Please login to merge, or discard this patch.
app/SurnameTradition/DefaultSurnameTradition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         $parts = array_filter($parts);
125 125
 
126 126
         $parts = array_map(
127
-            fn (string $tag, string $value): string => "\n2 " . $tag . ' ' . $value,
127
+            fn(string $tag, string $value): string => "\n2 " . $tag . ' ' . $value,
128 128
             array_keys($parts),
129 129
             $parts
130 130
         );
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         if ($individual instanceof Individual) {
149 149
             $fact = $individual
150 150
                 ->facts(['NAME'])
151
-                ->first(fn (Fact $fact): bool => in_array($fact->attribute('TYPE'), ['', 'birth', 'change'], true));
151
+                ->first(fn(Fact $fact): bool => in_array($fact->attribute('TYPE'), ['', 'birth', 'change'], true));
152 152
 
153 153
             if ($fact instanceof Fact) {
154 154
                 return $fact->value();
Please login to merge, or discard this patch.