@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * expected items in the core |
| 53 | - * @return array |
|
| 53 | + * @return string[] |
|
| 54 | 54 | */ |
| 55 | 55 | public function getRootDirContent(){ |
| 56 | 56 | return [ |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * Wrapper for filemtime function |
| 28 | 28 | * @param string $path |
| 29 | - * @return array |
|
| 29 | + * @return integer |
|
| 30 | 30 | */ |
| 31 | 31 | public function filemtime($path){ |
| 32 | 32 | return filemtime($path); |
@@ -156,6 +156,9 @@ discard block |
||
| 156 | 156 | } |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | + /** |
|
| 160 | + * @param string $path |
|
| 161 | + */ |
|
| 159 | 162 | public function removeIfExists($path) { |
| 160 | 163 | if (!file_exists($path)) { |
| 161 | 164 | return; |