@@ -17,7 +17,7 @@ |
||
| 17 | 17 | const DESCRIPTION = 'Checks if any optional parameters are before a required one. For example: `function ($a = 1, $b)`'; |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * @param Stmt\Function|Stmt\ClassMethod $func |
|
| 20 | + * @param Stmt $func |
|
| 21 | 21 | * @param Context $context |
| 22 | 22 | * @return bool |
| 23 | 23 | */ |
@@ -320,7 +320,7 @@ |
||
| 320 | 320 | } |
| 321 | 321 | |
| 322 | 322 | /** |
| 323 | - * @return string|integer|null |
|
| 323 | + * @return integer |
|
| 324 | 324 | */ |
| 325 | 325 | public function getCurrentBranch() |
| 326 | 326 | { |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | 144 | * @param \PhpParser\Node\Expr $expr |
| 145 | - * @return Node\AbstractNode |
|
| 145 | + * @return Node\AbstractNode|null |
|
| 146 | 146 | */ |
| 147 | 147 | protected function passExpr(\PhpParser\Node\Expr $expr) |
| 148 | 148 | { |