Passed
Pull Request — master (#208)
by
unknown
04:35 queued 01:39
created
parser/ParagraphNode.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,13 @@
 block discarded – undo
28 28
     {
29 29
         $doc = '';
30 30
         foreach ($this->subnodes as $subnode) {
31
-            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n";
31
+            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) {
32
+                $doc .= "\n";
33
+            }
32 34
             $doc .= $subnode->toSyntax();
33
-            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) $doc .= "\n";
35
+            if ($subnode instanceof \dokuwiki\plugin\prosemirror\parser\ParagraphNode) {
36
+                $doc .= "\n";
37
+            }
34 38
         }
35 39
         return $doc;
36 40
     }
Please login to merge, or discard this patch.