@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * |
| 208 | 208 | * @param array $publicSuffixList Array representation of the Public Suffix List |
| 209 | 209 | * |
| 210 | - * @return int Number of bytes that were written to the file |
|
| 210 | + * @return boolean Number of bytes that were written to the file |
|
| 211 | 211 | */ |
| 212 | 212 | public function writePhpCache(array $publicSuffixList) |
| 213 | 213 | { |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | * @param string $basename file path |
| 223 | 223 | * @param array $input input data |
| 224 | 224 | * |
| 225 | - * @return int Number of bytes that were written to the file |
|
| 225 | + * @return boolean Number of bytes that were written to the file |
|
| 226 | 226 | */ |
| 227 | 227 | protected function varExportToFile($basename, array $input) |
| 228 | 228 | { |
@@ -393,9 +393,9 @@ discard block |
||
| 393 | 393 | * Writes to file after obtaining an exclusive lock. |
| 394 | 394 | * |
| 395 | 395 | * @param string $filename Filename in cache dir where data will be written |
| 396 | - * @param mixed $data Data to write |
|
| 396 | + * @param string $data Data to write |
|
| 397 | 397 | * |
| 398 | - * @return int Number of bytes that were written to the file |
|
| 398 | + * @return boolean Number of bytes that were written to the file |
|
| 399 | 399 | * |
| 400 | 400 | * @throws \Exception Throws \Exception if unable to write file |
| 401 | 401 | */ |