|
@@ -23,10 +23,10 @@ |
|
|
block discarded – undo |
|
23
|
23
|
if (!is_object($driverInstance)) { |
|
24
|
24
|
echo '[FAIL] CacheManager::getInstance() returned an invalid variable type:' . gettype($driverInstance) . "\n"; |
|
25
|
25
|
$status = 1; |
|
26
|
|
-}else if(!($driverInstance instanceof CacheItemPoolInterface)){ |
|
|
26
|
+} else if(!($driverInstance instanceof CacheItemPoolInterface)){ |
|
27
|
27
|
echo '[FAIL] CacheManager::getInstance() returned an invalid class:' . get_class($driverInstance) . "\n"; |
|
28
|
28
|
$status = 1; |
|
29
|
|
-}else{ |
|
|
29
|
+} else{ |
|
30
|
30
|
echo '[PASS] CacheManager::getInstance() returned a valid CacheItemPoolInterface object: ' . get_class($driverInstance) . "\n"; |
|
31
|
31
|
} |
|
32
|
32
|
|
Please login to merge, or discard this patch.