Passed
Push — master ( 76c981...79342f )
by
unknown
21:10 queued 19:00
created
parser/ParagraphNode.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,9 +29,13 @@
 block discarded – undo
29 29
     {
30 30
         $doc = '';
31 31
         foreach ($this->subnodes as $subnode) {
32
-            if (is_a($subnode, ParagraphNode::class)) $doc .= "\n";
32
+            if (is_a($subnode, ParagraphNode::class)) {
33
+                $doc .= "\n";
34
+            }
33 35
             $doc .= $subnode->toSyntax();
34
-            if (is_a($subnode, ParagraphNode::class)) $doc .= "\n";
36
+            if (is_a($subnode, ParagraphNode::class)) {
37
+                $doc .= "\n";
38
+            }
35 39
         }
36 40
         return $doc;
37 41
     }
Please login to merge, or discard this patch.
action/editor.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
         $form = $event->data;
68 68
 
69 69
         // return early if content is not editable
70
-        if ($this->isReadOnly($form)) return;
70
+        if ($this->isReadOnly($form)) {
71
+            return;
72
+        }
71 73
 
72 74
 
73 75
         $useWYSIWYG = get_doku_pref('plugin_prosemirror_useWYSIWYG', false);
Please login to merge, or discard this patch.