@@ -161,7 +161,7 @@ |
||
| 161 | 161 | $result['status_message'] = self::toResponse($response); |
| 162 | 162 | $result['data'] = []; |
| 163 | 163 | } else { |
| 164 | - header('HTTP/1.1 '. 200); |
|
| 164 | + header('HTTP/1.1 '.200); |
|
| 165 | 165 | $result['status'] = 200; |
| 166 | 166 | $result['status_message'] = 'Success'; |
| 167 | 167 | $result['data'] = self::superEncode($response); |
@@ -87,9 +87,9 @@ |
||
| 87 | 87 | public function store($key, $data, $expiration = 0) |
| 88 | 88 | { |
| 89 | 89 | $storeData = [ |
| 90 | - 'time' => time(), |
|
| 91 | - 'expire' => $expiration, |
|
| 92 | - 'data' => serialize($data), |
|
| 90 | + 'time' => time(), |
|
| 91 | + 'expire' => $expiration, |
|
| 92 | + 'data' => serialize($data), |
|
| 93 | 93 | ]; |
| 94 | 94 | $dataArray = $this->_loadCache(); |
| 95 | 95 | if (true === is_array($dataArray)) { |