@@ -42,10 +42,10 @@ |
||
| 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 | |
@@ -42,10 +42,10 @@ |
||
| 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 | |