@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | // No lifetime, use MSET |
| 73 | - $response = $this->client->mset(array_map(function ($value) { |
|
| 73 | + $response = $this->client->mset(array_map(function($value) { |
|
| 74 | 74 | return serialize($value); |
| 75 | 75 | }, $keysAndValues)); |
| 76 | 76 | |
@@ -86,10 +86,10 @@ discard block |
||
| 86 | 86 | */ |
| 87 | 87 | public function deleteByPrefix($prefix) |
| 88 | 88 | { |
| 89 | - $deleted = array (); |
|
| 89 | + $deleted = array(); |
|
| 90 | 90 | $deleted = $this->getIds($prefix); |
| 91 | 91 | if ($deleted) { |
| 92 | - foreach ( $deleted as $id ) { |
|
| 92 | + foreach ($deleted as $id) { |
|
| 93 | 93 | $this->doDelete($id); |
| 94 | 94 | } |
| 95 | 95 | } |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | { |
| 109 | 109 | if ($prefix) { |
| 110 | 110 | return $this->client |
| 111 | - ->keys('\[' . $prefix . '*'); |
|
| 111 | + ->keys('\['.$prefix.'*'); |
|
| 112 | 112 | } else { |
| 113 | 113 | return $this->client |
| 114 | 114 | ->keys('*'); |