@@ -16,7 +16,7 @@ |
||
| 16 | 16 | private $cloneNodes = false; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param array $visitors |
|
| 19 | + * @param \PHPSA\Node\Visitor\FunctionCall[] $visitors |
|
| 20 | 20 | * @param Context $context |
| 21 | 21 | */ |
| 22 | 22 | public function __construct(array $visitors, Context $context) |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @param \PhpParser\Node\Stmt\Foreach_ $stmt |
| 19 | 19 | * @param Context $context |
| 20 | - * @return CompiledExpression |
|
| 20 | + * @return null|boolean |
|
| 21 | 21 | */ |
| 22 | 22 | public function compile($stmt, Context $context) |
| 23 | 23 | { |
@@ -241,7 +241,7 @@ |
||
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | - * @return int|string |
|
| 244 | + * @return integer |
|
| 245 | 245 | */ |
| 246 | 246 | public function getCurrentBranch() |
| 247 | 247 | { |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | /** |
| 203 | - * @param $name |
|
| 203 | + * @param string $name |
|
| 204 | 204 | * @param bool $inherit |
| 205 | 205 | * @return Node\Stmt\Property |
| 206 | 206 | */ |
@@ -38,9 +38,9 @@ discard block |
||
| 38 | 38 | protected $possibleReturnValues = array(); |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param $name |
|
| 41 | + * @param string $name |
|
| 42 | 42 | * @param Node\Stmt\ClassMethod $statement |
| 43 | - * @param $type |
|
| 43 | + * @param integer $type |
|
| 44 | 44 | */ |
| 45 | 45 | public function __construct($name, Node\Stmt\ClassMethod $statement, $type) |
| 46 | 46 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * @param Context $context |
| 118 | - * @param array|null $args |
|
| 118 | + * @param Node\Arg[] $args |
|
| 119 | 119 | * @return CompiledExpression |
| 120 | 120 | * @throws \PHPSA\Exception\RuntimeException |
| 121 | 121 | */ |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @param $newType |
|
| 175 | + * @param integer $newType |
|
| 176 | 176 | */ |
| 177 | 177 | public function addNewType($newType) |
| 178 | 178 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | use PHPSA\CompiledExpression; |
| 9 | 9 | use PHPSA\Context; |
| 10 | -use PHPSA\Compiler\Expression; |
|
| 11 | 10 | |
| 12 | 11 | class TryCatchSt extends AbstractCompiler |
| 13 | 12 | { |