@@ -43,7 +43,7 @@ |
||
| 43 | 43 | class_exists($className); |
| 44 | 44 | $res = ReflectionPool::getInstance($className) |
| 45 | 45 | ->implementsInterface($interfaceName); |
| 46 | - } catch (\Exception $e){
|
|
| 46 | + } catch (\Exception $e){
|
|
| 47 | 47 | $res = false; |
| 48 | 48 | } |
| 49 | 49 | return $res;; |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | var_dump($drinks); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | -}else{
|
|
| 60 | +} else{
|
|
| 61 | 61 | throw new RuntimeException('Could not get CafeGateway');
|
| 62 | 62 | } |
| 63 | 63 | |