@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * |
83 | 83 | * @param string $filename Path to the file |
84 | 84 | * |
85 | - * @return TRUE if the filename exists and is a directory, else FALSE |
|
85 | + * @return boolean if the filename exists and is a directory, else FALSE |
|
86 | 86 | */ |
87 | 87 | public function isDir($filename) |
88 | 88 | { |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @param string $filename The name of the file to write the data to |
121 | 121 | * @param string $data The data to write to the file |
122 | 122 | * |
123 | - * @return number The number of bytes written to the file |
|
123 | + * @return boolean The number of bytes written to the file |
|
124 | 124 | */ |
125 | 125 | public function write($filename, $data) |
126 | 126 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * |
224 | 224 | * @param string $filename The name of the file to return its content for |
225 | 225 | * |
226 | - * @return array The content of the file as array |
|
226 | + * @return string|false The content of the file as array |
|
227 | 227 | * @throws \Exception Is thrown, if the file is not accessible |
228 | 228 | */ |
229 | 229 | public function read($filename) |