Completed
Push — simplify ( c10a7e...96e3d6 )
by Colin
03:29
created
src/Block/Element/AbstractBlock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return AbstractBlock|null
73
+     * @return Node|null
74 74
      */
75 75
     public function parent()
76 76
     {
Please login to merge, or discard this patch.
src/Block/Renderer/ListItemRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param ElementRendererInterface $htmlRenderer
27 27
      * @param bool                     $inTightList
28 28
      *
29
-     * @return string
29
+     * @return HtmlElement
30 30
      */
31 31
     public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, $inTightList = false)
32 32
     {
Please login to merge, or discard this patch.
src/Delimiter/DelimiterStack.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param string|string[] $characters
98
+     * @param string[] $characters
99 99
      *
100 100
      * @return Delimiter|null
101 101
      */
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @param string|string[] $characters
120
+     * @param string[] $characters
121 121
      * @param callable        $callback
122 122
      * @param Delimiter       $stackBottom
123 123
      */
Please login to merge, or discard this patch.
src/Inline/Parser/EmphasisParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
      * @param string $character
124 124
      * @param int    $numDelims
125 125
      *
126
-     * @return bool[]
126
+     * @return boolean[]
127 127
      */
128 128
     private function determineCanOpenOrClose($charBefore, $charAfter, $character, $numDelims)
129 129
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use League\CommonMark\Delimiter\Delimiter;
18 18
 use League\CommonMark\Environment;
19 19
 use League\CommonMark\EnvironmentAwareInterface;
20
-use League\CommonMark\Inline\Element\Text;
21 20
 use League\CommonMark\InlineParserContext;
21
+use League\CommonMark\Inline\Element\Text;
22 22
 use League\CommonMark\Util\Configuration;
23 23
 use League\CommonMark\Util\RegexHelper;
24 24
 
Please login to merge, or discard this patch.