@@ -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) |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Try to find function with $namespace from pre-compiled function(s) |
81 | 81 | * |
82 | - * @param $name |
|
82 | + * @param string $name |
|
83 | 83 | * @param string|null $namespace |
84 | 84 | * @return bool|FunctionDefinition |
85 | 85 | */ |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * Try to find function from pre-compiled function(s) |
99 | 99 | * |
100 | - * @param $name |
|
100 | + * @param string $name |
|
101 | 101 | * @return bool|FunctionDefinition |
102 | 102 | */ |
103 | 103 | public function getFunction($name) |
@@ -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 | { |
@@ -187,8 +187,8 @@ |
||
187 | 187 | } |
188 | 188 | |
189 | 189 | /** |
190 | - * @param $name |
|
191 | - * @return CompiledExpression |
|
190 | + * @param string $name |
|
191 | + * @return Node\Stmt\Property |
|
192 | 192 | */ |
193 | 193 | public function getProperty($name) |
194 | 194 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param Context $context |
52 | - * @return boolean|null |
|
52 | + * @return ReflectionClassMethod |
|
53 | 53 | */ |
54 | 54 | public function compile(Context $context) |
55 | 55 | { |