@@ -73,7 +73,7 @@ |
||
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 |
@@ -219,7 +219,7 @@ |
||
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 | { |
@@ -79,7 +79,7 @@ discard block |
||
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 |
||
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 | { |
@@ -30,7 +30,7 @@ discard block |
||
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 |
||
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 | { |
@@ -96,7 +96,7 @@ |
||
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 |
@@ -434,7 +434,7 @@ |
||
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 | { |