@@ -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 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * @param bool $as_array |
| 69 | 69 | * @return array|object |
| 70 | 70 | */ |
| 71 | - public static function json_file_decode($file, $as_array=TRUE) |
|
| 71 | + public static function json_file_decode($file, $as_array = TRUE) |
|
| 72 | 72 | { |
| 73 | 73 | return json_decode( |
| 74 | 74 | file_get_contents($file), |