Completed
Push — final ( 71dd8c...699234 )
by Georges
7s
created
src/phpFastCache/Core/ExtendedCacheItemPoolTrait.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -305,9 +305,9 @@
 block discarded – undo
305 305
         if($item instanceof CacheItemInterface){
306 306
             unset($this->itemInstances[ $item->getKey() ]);
307 307
 
308
-        }else if(is_string($item)){
308
+        } else if(is_string($item)){
309 309
             unset($this->itemInstances[ $item ]);
310
-        }else{
310
+        } else{
311 311
             throw new \InvalidArgumentException('Invalid type for $item variable');
312 312
         }
313 313
         if(gc_enabled()){
Please login to merge, or discard this patch.
tests/AbstractProxy.test.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 if (!is_object($driverInstance->getItem('test'))) {
43 43
     echo '[FAIL] $driverInstance->getItem() returned an invalid var type:' . gettype($driverInstance) . "\n";
44 44
     $status = 1;
45
-}else if(!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)){
45
+} else if(!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)){
46 46
     echo '[FAIL] $driverInstance->getItem() returned an invalid class that does not implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
47 47
     $status = 1;
48
-}else{
48
+} else{
49 49
     echo '[PASS] $driverInstance->getItem() returned a valid class that implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
50 50
 }
51 51
 
Please login to merge, or discard this patch.