@@ -54,6 +54,9 @@ |
||
| 54 | 54 | |
| 55 | 55 | # Output contents |
| 56 | 56 | |
| 57 | + /** |
|
| 58 | + * @param string $status |
|
| 59 | + */ |
|
| 57 | 60 | public static function output(Template\Asset\Block $block, $status = null) { |
| 58 | 61 | |
| 59 | 62 | if ((null === $status) || !Headers::isStatusCode($status)) $status = STATUS_CODE_200; |
@@ -49,6 +49,9 @@ |
||
| 49 | 49 | |
| 50 | 50 | # Validate file or directory name |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @return string |
|
| 54 | + */ |
|
| 52 | 55 | public static function fileName(string $value) { |
| 53 | 56 | |
| 54 | 57 | return (preg_match(REGEX_FILE_NAME, $value) ? $name : false); |