@@ -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 | /** |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | 'INSERT INTO nv_request_limit_items (item_key, expires_at) VALUES (:item_key, :expires_at);' |
| 53 | 53 | ); |
| 54 | 54 | $statement->bindValue('item_key', $key); |
| 55 | - $statement->bindValue('expires_at', date('Y-m-d H:i:s',$expiresAt)); |
|
| 55 | + $statement->bindValue('expires_at', date('Y-m-d H:i:s', $expiresAt)); |
|
| 56 | 56 | $statement->execute(); |
| 57 | 57 | $connection->close(); |
| 58 | 58 | } |
@@ -17,6 +17,6 @@ |
||
| 17 | 17 | |
| 18 | 18 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 19 | 19 | { |
| 20 | - $loader->load(__DIR__.'/config.yml'); |
|
| 20 | + $loader->load(__DIR__ . '/config.yml'); |
|
| 21 | 21 | } |
| 22 | 22 | } |