@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | // In cli, apcu SHOULD NOT use the request time for cache retrieve/invalidation. |
| 48 | 48 | // This is because in cli the request time is allways the same. |
| 49 | 49 | if ( php_sapi_name() === 'cli' ) { |
| 50 | - ini_set('apc.use_request_time',0); |
|
| 50 | + ini_set('apc.use_request_time', 0); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | } |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | if ( $apcu ) self::$is_apcu = true; |
| 294 | 294 | |
| 295 | - return ( ( $apc || $apcu ) && ini_get('apc.enabled') ); |
|
| 295 | + return (($apc || $apcu) && ini_get('apc.enabled')); |
|
| 296 | 296 | |
| 297 | 297 | } |
| 298 | 298 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * |
| 31 | 31 | * @throws \Comodojo\Exception\CacheException |
| 32 | 32 | */ |
| 33 | - public function __construct($select_mode = null, LoggerInterface $logger = null, $default_ttl = 3600, $flap_interval = 600) { |
|
| 33 | + public function __construct($select_mode = null, LoggerInterface $logger = null, $default_ttl = 3600, $flap_interval = 600) { |
|
| 34 | 34 | |
| 35 | 35 | parent::__construct($select_mode, $logger); |
| 36 | 36 | |