Passed
Push — analysis-Px1JoY ( 6633fb )
by Greg
19:58 queued 07:57
created
app/GedcomRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
         $access_level = $access_level ?? Auth::accessLevel($this->tree);
785 785
 
786 786
         // Convert BIRT into INDI:BIRT, etc.
787
-        $filter = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, $filter);
787
+        $filter = array_map(fn(string $tag): string => $this->tag() . ':' . $tag, $filter);
788 788
 
789 789
         $facts = new Collection();
790 790
         if ($this->canShow($access_level)) {
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
 
805 805
                 default:
806 806
                     $subtags = Registry::elementFactory()->make($this->tag())->subtags();
807
-                    $subtags = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, array_keys($subtags));
807
+                    $subtags = array_map(fn(string $tag): string => $this->tag() . ':' . $tag, array_keys($subtags));
808 808
                     $subtags = array_combine(range(1, count($subtags)), $subtags);
809 809
 
810 810
                     $facts = $facts
Please login to merge, or discard this patch.
app/Elements/NoteStructure.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,9 +130,9 @@
 block discarded – undo
130 130
 
131 131
         if ($one_line_only) {
132 132
             return
133
-                 '<div class="fact_NOTE">' .
134
-                 I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) .
135
-                 '</div>';
133
+                    '<div class="fact_NOTE">' .
134
+                    I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) .
135
+                    '</div>';
136 136
         }
137 137
 
138 138
         return
Please login to merge, or discard this patch.