| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | } | 
| 38 | 38 | |
| 39 | 39 | /** | 
| 40 | - * @param $actual | |
| 40 | + * @param CompiledExpression $actual | |
| 41 | 41 | * @param string $message | 
| 42 | 42 | */ | 
| 43 | 43 | protected function assertInstanceOfCompiledExpression($actual, $message = '') | 
| @@ -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 |  { | 
| @@ -215,7 +215,7 @@ | ||
| 215 | 215 | } | 
| 216 | 216 | |
| 217 | 217 | /** | 
| 218 | - * @return array | |
| 218 | + * @return Node\Param[] | |
| 219 | 219 | */ | 
| 220 | 220 | public function getParams() | 
| 221 | 221 |      { | 
| @@ -103,7 +103,7 @@ | ||
| 103 | 103 | } | 
| 104 | 104 | |
| 105 | 105 | /** | 
| 106 | - * @return null|ClassDefinition | |
| 106 | + * @return null|RuntimeClassDefinition | |
| 107 | 107 | */ | 
| 108 | 108 | public function getExtendsClassDefinition() | 
| 109 | 109 |      { | 
| @@ -4,7 +4,6 @@ | ||
| 4 | 4 | |
| 5 | 5 | use PHPSA\Compiler\Parameter; | 
| 6 | 6 | use PHPSA\Definition\RuntimeClassDefinition; | 
| 7 | -use PHPSA\Variable; | |
| 8 | 7 | use ReflectionClass; | 
| 9 | 8 | use Tests\PHPSA\TestCase; | 
| 10 | 9 | |
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | use PHPSA\Analyzer\Pass\AnalyzerPassInterface; | 
| 7 | 7 | use PHPSA\Compiler\Event\ExpressionAfterCompile; | 
| 8 | 8 | use PHPSA\Context; | 
| 9 | -use Symfony\Component\Config\Definition\Builder\TreeBuilder; | |
| 10 | 9 | use PHPSA\CompiledExpression; | 
| 11 | 10 | |
| 12 | 11 | class Casts implements AnalyzerPassInterface | 
| @@ -26,6 +26,9 @@ | ||
| 26 | 26 | */ | 
| 27 | 27 | protected $result; | 
| 28 | 28 | |
| 29 | + /** | |
| 30 | + * @param \PHPSA\Definition\ClassDefinition $result | |
| 31 | + */ | |
| 29 | 32 | public function __construct(\PhpParser\Node\Stmt $statement, Context $context, $result) | 
| 30 | 33 |      { | 
| 31 | 34 | parent::__construct(); |