@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | print_r($_SESSION); |
| 27 | 27 | |
| 28 | -for ($i=0; $i<4; $i++) { |
|
| 28 | +for ($i = 0; $i < 4; $i++) { |
|
| 29 | 29 | $item = $pool->getItem('key' . $i); |
| 30 | 30 | $item->set('value - ' . $i); |
| 31 | 31 | $pool->saveDeferred($item); |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * @return bool |
| 81 | 81 | * @throws \Psr\SimpleCache\InvalidArgumentException |
| 82 | 82 | * MUST be thrown if the $key string is not a legal value. |
| 83 | - */ |
|
| 83 | + */ |
|
| 84 | 84 | public function has($key) |
| 85 | 85 | { |
| 86 | 86 | return false; |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | */ |
| 74 | 74 | public function get($key, $default = null) |
| 75 | 75 | { |
| 76 | - if ($default === false) { |
|
| 76 | + if ($default === false) { |
|
| 77 | 77 | $this->logger->info("[Shmop Cache] Ignored $key because TTL=FALSE"); |
| 78 | 78 | return $default; |
| 79 | 79 | } |