Passed
Push — dev ( f79383...5f589d )
by Greg
06:20
created
app/Elements/NoteStructure.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -145,12 +145,12 @@
 block discarded – undo
145 145
         $id       = 'collapse-' . Uuid::uuid4()->toString();
146 146
         $expanded = $tree->getPreference('EXPAND_NOTES') === '1';
147 147
 
148
-         if ($one_line_only) {
149
-             return
150
-                 '<div class="fact_NOTE">' .
151
-                 I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) .
152
-                 '</div>';
153
-         }
148
+            if ($one_line_only) {
149
+                return
150
+                    '<div class="fact_NOTE">' .
151
+                    I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) .
152
+                    '</div>';
153
+            }
154 154
 
155 155
         return
156 156
             '<div class="fact_NOTE">' .
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     {
118 118
         // A note structure can contain an inline note or a linked to a shared note.
119 119
         if (preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $value, $match) === 1) {
120
-            $note    = Registry::noteFactory()->make($match[1], $tree);
120
+            $note = Registry::noteFactory()->make($match[1], $tree);
121 121
 
122 122
             if ($note === null) {
123 123
                 return parent::labelValue($value, $tree);
Please login to merge, or discard this patch.