@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | public function __construct(\BFW\Application $app) |
| 14 | 14 | { |
| 15 | - if(PHP_VERSION_ID > 70000) { |
|
| 15 | + if (PHP_VERSION_ID > 70000) { |
|
| 16 | 16 | throw new Exception( |
| 17 | 17 | 'PHP Memcache Extension not supported for PHP 7' |
| 18 | 18 | ); |
@@ -38,11 +38,11 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $methodName = 'connect'; |
| 41 | - if($persistent === true) { |
|
| 41 | + if ($persistent === true) { |
|
| 42 | 42 | $methodName = 'pconnect'; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - if($timeout !== null) { |
|
| 45 | + if ($timeout !== null) { |
|
| 46 | 46 | $this->{$methodName}($host, $port, $timeout); |
| 47 | 47 | return; |
| 48 | 48 | } |