@@ -56,7 +56,7 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * Get a FILE-param value |
| 58 | 58 | * |
| 59 | - * @return array|false : the array with file info or false if the param does not exist |
|
| 59 | + * @return string : the array with file info or false if the param does not exist |
|
| 60 | 60 | */ |
| 61 | 61 | |
| 62 | 62 | public static function file(string $name) { |
@@ -9,7 +9,9 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace Template { |
| 11 | 11 | |
| 12 | - use Language, Str, Template; |
|
| 12 | + use Language; |
|
| 13 | + use Str; |
|
| 14 | + use Template; |
|
| 13 | 15 | |
| 14 | 16 | class Block extends Group { |
| 15 | 17 | |
@@ -47,10 +47,10 @@ |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * Get a query attribute |
|
| 51 | - * |
|
| 52 | - * @return string|false: the value or false if the attribute does not exist |
|
| 53 | - */ |
|
| 50 | + * Get a query attribute |
|
| 51 | + * |
|
| 52 | + * @return string|false: the value or false if the attribute does not exist |
|
| 53 | + */ |
|
| 54 | 54 | |
| 55 | 55 | public function getAttribute(string $name) { |
| 56 | 56 | |