Completed
Pull Request — master (#5)
by Billie
04:11 queued 01:55
created
src/PurpleBooth/Parser.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
         $this->setBlockText($this->getBlockText() . $value);
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $value
81
+     */
79 82
     private function setBlockText($value) {
80 83
         $this->transformedTextStack->pop();
81 84
         $this->transformedTextStack->push($value);
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 
55 55
         if(count($this->transformedTextStack)) {
56 56
             $this->appendBlockText($blockContent);
57
-        }
58
-        else {
57
+        } else {
59 58
             $this->text .= $blockContent;
60 59
         }
61 60
     }
Please login to merge, or discard this patch.