@@ -740,7 +740,7 @@ |
||
740 | 740 | * @param array<string,array|string|integer> $context Current context of compiler progress. |
741 | 741 | * @param string $name helper name |
742 | 742 | * |
743 | - * @return string|null $content helper function name or callable |
|
743 | + * @return boolean|null $content helper function name or callable |
|
744 | 744 | */ |
745 | 745 | public static function resolveHelper(&$context, &$name) { |
746 | 746 | if (isset($context['helpers'][$name])) { |
@@ -200,7 +200,7 @@ |
||
200 | 200 | * @param array<string,array|string|integer> $context current compile context |
201 | 201 | * @param array<boolean|integer|string|array> $vars parsed arguments list |
202 | 202 | * |
203 | - * @return array<string> code representing passed expression |
|
203 | + * @return string[] code representing passed expression |
|
204 | 204 | */ |
205 | 205 | public static function compileSubExpression(&$context, $vars) { |
206 | 206 | $ret = static::customHelper($context, $vars, true, true, true); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * Get methods from ReflectionClass |
87 | 87 | * |
88 | 88 | * @param array<string,array|string|integer> $context current compile context |
89 | - * @param object $class instance of the ReflectionClass |
|
89 | + * @param \ReflectionClass $class instance of the ReflectionClass |
|
90 | 90 | * |
91 | 91 | * @return array |
92 | 92 | */ |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Get statics code from ReflectionClass |
106 | 106 | * |
107 | - * @param object $class instance of the ReflectionClass |
|
107 | + * @param \ReflectionClass $class instance of the ReflectionClass |
|
108 | 108 | * |
109 | 109 | * @return string |
110 | 110 | */ |