Test Setup Failed
Pull Request — master (#6)
by Eridan
10:11
created
src/CodeGen/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * @param CompressResult $result
76
-     * @param $resultFile
76
+     * @param resource $resultFile
77 77
      * @param null $headerFile
78 78
      *
79 79
      * @throws LogicException
Please login to merge, or discard this patch.
src/Grammar/Context.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
      * Context constructor.
220 220
      *
221 221
      * @param string        $filename
222
-     * @param resource|null $debugFile
222
+     * @param null|resource $debugFile
223 223
      */
224 224
     public function __construct(string $filename = 'YY', resource $debugFile = null)
225 225
     {
Please login to merge, or discard this patch.
src/Grammar/Symbol.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * @param int         $terminal
80 80
      * @param int         $precedence
81 81
      * @param int         $associativity
82
-     * @param Symbol|null $type
82
+     * @param null|\self $type
83 83
      *
84 84
      * @throws LogicException
85 85
      */
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
     /**
177
-     * @param Symbol|null $type
177
+     * @param null|\self $type
178 178
      */
179 179
     public function setType(self $type = null)
180 180
     {
Please login to merge, or discard this patch.
src/Lalr/Conflict.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * Conflict constructor.
31 31
      *
32 32
      * @param Symbol        $symbol
33
-     * @param Conflict|null $next
33
+     * @param null|\self $next
34 34
      */
35 35
     protected function __construct(Symbol $symbol, self $next = null)
36 36
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @param Conflict|null $next
74
+     * @param null|\self $next
75 75
      */
76 76
     public function setNext(self $next = null)
77 77
     {
Please login to merge, or discard this patch.
src/Yacc/Parser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     /**
97 97
      * @param array $symbols
98 98
      * @param int   $n
99
-     * @param $delm
99
+     * @param string $delm
100 100
      * @param array $attribute
101 101
      *
102 102
      * @throws ParseException
Please login to merge, or discard this patch.
src/Lalr/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@
 block discarded – undo
434 434
      *
435 435
      * @throws LogicException
436 436
      *
437
-     * @return int|mixed
437
+     * @return integer
438 438
      */
439 439
     protected function comparePrecedence(Production $gram, Symbol $x)
440 440
     {
Please login to merge, or discard this patch.