@@ -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 |
@@ -45,8 +45,8 @@ |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @param string $name |
48 | - * @param null $description |
|
49 | - * @param NodeDefinition|null $config |
|
48 | + * @param string|null $description |
|
49 | + * @param NodeDefinition $config |
|
50 | 50 | */ |
51 | 51 | private function __construct($name, NodeDefinition $config, $description = null) |
52 | 52 | { |