@@ -52,6 +52,9 @@ discard block |
||
| 52 | 52 | $this->requireFile(BASE_PATH . '/themes/' . $theme . '/templates/' . $template, $content); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param string $filename |
|
| 57 | + */ |
|
| 55 | 58 | protected function requireFile($filename, $content) |
| 56 | 59 | { |
| 57 | 60 | // Already exists |
@@ -69,6 +72,9 @@ discard block |
||
| 69 | 72 | } |
| 70 | 73 | } |
| 71 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $dirname |
|
| 77 | + */ |
|
| 72 | 78 | protected function requireDir($dirname) |
| 73 | 79 | { |
| 74 | 80 | // Directory doesn't exist, create it and mark it for deletion |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | * Creates a single file based on a form-urlencoded upload. |
| 314 | 314 | * |
| 315 | 315 | * @param SS_HTTPRequest $request |
| 316 | - * @return SS_HTTPRequest|SS_HTTPResponse |
|
| 316 | + * @return SS_HTTPResponse |
|
| 317 | 317 | */ |
| 318 | 318 | public function apiCreateFile(SS_HTTPRequest $request) |
| 319 | 319 | { |
@@ -374,7 +374,7 @@ discard block |
||
| 374 | 374 | * Creates a single folder, within an optional parent folder. |
| 375 | 375 | * |
| 376 | 376 | * @param SS_HTTPRequest $request |
| 377 | - * @return SS_HTTPRequest|SS_HTTPResponse |
|
| 377 | + * @return SS_HTTPResponse |
|
| 378 | 378 | */ |
| 379 | 379 | public function apiCreateFolder(SS_HTTPRequest $request) |
| 380 | 380 | { |