@@ -42,11 +42,11 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Sets the file to store for later |
44 | 44 | * |
45 | - * @param mixed $file |
|
45 | + * @param false|string $file |
|
46 | 46 | * The file to set |
47 | 47 | * @param bool $reset |
48 | 48 | * Whether the counter should be reset when set |
49 | - * @return \mithra62\Files |
|
49 | + * @return Files |
|
50 | 50 | */ |
51 | 51 | public function setFileData($file = false, $reset = false) |
52 | 52 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param string $file |
93 | 93 | * The path to the file to read |
94 | - * @return boolean|string |
|
94 | + * @return false|string |
|
95 | 95 | */ |
96 | 96 | public function read($file) |
97 | 97 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * Removes a file from the file system |
107 | 107 | * |
108 | 108 | * @param string $path |
109 | - * @return bool |
|
109 | + * @return boolean|null |
|
110 | 110 | */ |
111 | 111 | public function delete($path) |
112 | 112 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * |
123 | 123 | * @param string $path |
124 | 124 | * @param string $del_dir |
125 | - * @param number $level |
|
125 | + * @param integer $level |
|
126 | 126 | * @param array $exclude |
127 | 127 | * @return boolean |
128 | 128 | */ |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | * |
165 | 165 | * @param string $val |
166 | 166 | * The number to format |
167 | - * @param number $digits |
|
167 | + * @param integer $digits |
|
168 | 168 | * How many digits to display |
169 | 169 | * @param string $mode |
170 | 170 | * Either SI or EIC to determine either 1000 or 1024 bytes |