@@ -62,7 +62,7 @@ |
||
| 62 | 62 | ); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - if(!$this->ifExists($key)) { |
|
| 65 | + if (!$this->ifExists($key)) { |
|
| 66 | 66 | return false; |
| 67 | 67 | } |
| 68 | 68 | |
@@ -32,11 +32,11 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | $methodName = 'connect'; |
| 35 | - if($persistent === true) { |
|
| 35 | + if ($persistent === true) { |
|
| 36 | 36 | $methodName = 'pconnect'; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - if($timeout !== null) { |
|
| 39 | + if ($timeout !== null) { |
|
| 40 | 40 | $this->{$methodName}($host, $port, $timeout); |
| 41 | 41 | return; |
| 42 | 42 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $this->app = $app; |
| 16 | 16 | $this->config = $this->app->getConfig('memcached'); |
| 17 | 17 | |
| 18 | - if(!empty($this->config['persistentId'])) { |
|
| 18 | + if (!empty($this->config['persistentId'])) { |
|
| 19 | 19 | parent::__construct($this->config['persistentId']); |
| 20 | 20 | } |
| 21 | 21 | |