@@ -153,7 +153,7 @@ |
||
| 153 | 153 | $runnerFile = $this->getRunnerFile(); |
| 154 | 154 | |
| 155 | 155 | $initFunction = function() use ($runnerFile) { |
| 156 | - if($runnerFile === null) { |
|
| 156 | + if ($runnerFile === null) { |
|
| 157 | 157 | return; |
| 158 | 158 | } |
| 159 | 159 | |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | protected static function getApp() |
| 28 | 28 | { |
| 29 | - if(is_null(self::$app)) { |
|
| 29 | + if (is_null(self::$app)) { |
|
| 30 | 30 | self::$app = Application::getInstance(); |
| 31 | 31 | } |
| 32 | 32 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | return $renderConfig['cli']; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - if(isset($renderConfig['default'])) { |
|
| 60 | + if (isset($renderConfig['default'])) { |
|
| 61 | 61 | return $renderConfig['default']; |
| 62 | 62 | } |
| 63 | 63 | |
@@ -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 | |