@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * |
| 82 | 82 | * @param string $file |
| 83 | 83 | * @param mixed $data |
| 84 | - * @return bool |
|
| 84 | + * @return integer |
|
| 85 | 85 | */ |
| 86 | 86 | public static function json_file_encode($file, $data) |
| 87 | 87 | { |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * Encode data in json format |
| 24 | 24 | * |
| 25 | 25 | * @param mixed $data |
| 26 | - * @param int $options=0 |
|
| 27 | - * @param int $depth=512 |
|
| 26 | + * @param int $options |
|
| 27 | + * @param int $depth |
|
| 28 | 28 | * @return string |
| 29 | 29 | */ |
| 30 | 30 | public static function encode($data, $options = 0, $depth = 512) |