@@ -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); |