Passed
Push — master ( ab9cf6...0bbf98 )
by Kirill
02:49
created
src/Grammar/Analyzer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Build the analyzer of the rules (does not analyze the rules).
76 76
      *
77
-     * @return Rule[]|\Traversable
77
+     * @return \Generator
78 78
      * @throws GrammarException
79 79
      */
80 80
     public function analyze(): iterable
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * Implementation of “simple”.
310 310
      *
311 311
      * @param LookaheadIterator $tokens
312
-     * @param int|string|null $pNodeId
312
+     * @param string|null $pNodeId
313 313
      * @return string|int|null
314 314
      * @throws GrammarException
315 315
      */
Please login to merge, or discard this patch.
src/Grammar/Delegate/RuleDelegate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param RuleInterface|NodeInterface $rule
42
+     * @param null|NodeInterface $rule
43 43
      * @return \Traversable
44 44
      */
45 45
     private function getTokens(RuleInterface $rule): \Traversable
Please login to merge, or discard this patch.