Completed
Push — latest ( 02d08e...e7e0af )
by Colin
18:09 queued 16:46
created
src/Input/MarkdownInputInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function getContent(): string;
17 17
 
18 18
     /**
19
-     * @return iterable<int, string>
19
+     * @return \Generator string>
20 20
      */
21 21
     public function getLines(): iterable;
22 22
 
Please login to merge, or discard this patch.
src/Extension/CommonMark/Parser/Inline/CloseBracketParser.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 use League\CommonMark\Extension\CommonMark\Node\Inline\Link;
23 23
 use League\CommonMark\Node\Inline\AdjacentTextMerger;
24 24
 use League\CommonMark\Parser\Cursor;
25
-use League\CommonMark\Parser\Inline\InlineParserInterface;
26 25
 use League\CommonMark\Parser\InlineParserContext;
26
+use League\CommonMark\Parser\Inline\InlineParserInterface;
27 27
 use League\CommonMark\Reference\ReferenceInterface;
28 28
 use League\CommonMark\Reference\ReferenceMapInterface;
29 29
 use League\CommonMark\Util\LinkParserHelper;
Please login to merge, or discard this patch.
src/Extension/SmartPunct/QuoteParser.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 namespace League\CommonMark\Extension\SmartPunct;
16 16
 
17 17
 use League\CommonMark\Delimiter\Delimiter;
18
-use League\CommonMark\Parser\Inline\InlineParserInterface;
19 18
 use League\CommonMark\Parser\InlineParserContext;
19
+use League\CommonMark\Parser\Inline\InlineParserInterface;
20 20
 use League\CommonMark\Util\RegexHelper;
21 21
 
22 22
 final class QuoteParser implements InlineParserInterface
Please login to merge, or discard this patch.
src/Extension/CommonMark/Parser/Inline/BacktickParser.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 
17 17
 use League\CommonMark\Extension\CommonMark\Node\Inline\Code;
18 18
 use League\CommonMark\Node\Inline\Text;
19
-use League\CommonMark\Parser\Inline\InlineParserInterface;
20 19
 use League\CommonMark\Parser\InlineParserContext;
20
+use League\CommonMark\Parser\Inline\InlineParserInterface;
21 21
 
22 22
 final class BacktickParser implements InlineParserInterface
23 23
 {
Please login to merge, or discard this patch.
src/Extension/TaskList/TaskListItemMarkerParser.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use League\CommonMark\Extension\CommonMark\Node\Block\ListItem;
15 15
 use League\CommonMark\Node\Block\Paragraph;
16
-use League\CommonMark\Parser\Inline\InlineParserInterface;
17 16
 use League\CommonMark\Parser\InlineParserContext;
17
+use League\CommonMark\Parser\Inline\InlineParserInterface;
18 18
 
19 19
 final class TaskListItemMarkerParser implements InlineParserInterface
20 20
 {
Please login to merge, or discard this patch.
src/Environment/EnvironmentInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function getConfig(?string $key = null, $default = null);
31 31
 
32 32
     /**
33
-     * @return iterable<BlockStartParserInterface>
33
+     * @return \Traversable
34 34
      */
35 35
     public function getBlockStartParsers(): iterable;
36 36
 
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * Dispatches the given event to listeners
58
+     * @return void
58 59
      */
59 60
     public function dispatch(AbstractEvent $event): void;
60 61
 }
Please login to merge, or discard this patch.
src/Node/Block/Document.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
      */
30 30
     protected $referenceMap;
31 31
 
32
+    /**
33
+     * @param ReferenceMapInterface $referenceMap
34
+     */
32 35
     public function __construct(?ReferenceMapInterface $referenceMap = null)
33 36
     {
34 37
         $this->setStartLine(1);
Please login to merge, or discard this patch.
src/Parser/Cursor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
         return $this->getIndent() >= self::INDENT_LEVEL;
142 142
     }
143 143
 
144
+    /**
145
+     * @param integer $index
146
+     */
144 147
     public function getCharacter(?int $index = null): ?string
145 148
     {
146 149
         if ($index === null) {
Please login to merge, or discard this patch.
src/Util/ArrayCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @return mixed|false
49
+     * @return string
50 50
      *
51 51
      * @phpstan-return T|false
52 52
      */
Please login to merge, or discard this patch.