Completed
Pull Request — master (#497)
by Colin
02:59 queued 01:38
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/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.
src/Extension/Attributes/Event/AttributesListener.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
-     * @param Attributes|AttributesInline $node
64
+     * @param Node $node
65 65
      *
66 66
      * @return array<Node|string|null>
67 67
      */
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * Get any previous block (sibling or parent) this might apply to
128
+     * @param Node $node
128 129
      */
129 130
     private static function getNext(?Node $node = null): ?Node
130 131
     {
Please login to merge, or discard this patch.