@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | public function restrictRequestByUserId($userId) |
| 37 | 37 | { |
| 38 | - return $this->restrictByKey($userId); |
|
| 38 | + return $this->restrictByKey($userId); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function get($key) |
| 31 | 31 | { |
| 32 | - return $this->_memcached->get($key); |
|
| 32 | + return $this->_memcached->get($key); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function setItem($key, $value = null) |
| 46 | 46 | { |
| 47 | - $value = $value ? : new \DateTime('+ 10 minutes'); |
|
| 47 | + $value = $value ?: new \DateTime('+ 10 minutes'); |
|
| 48 | 48 | $this->provider->set($key, $value->getTimestamp()); |
| 49 | 49 | } |
| 50 | 50 | |