Completed
Push — 2.0 ( f9aac1...beffc6 )
by Marco
13:31
created
src/Comodojo/Cache/Providers/Apc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Comodojo/Cache/CacheManager.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.