@@ -81,7 +81,8 @@ |
||
81 | 81 | { |
82 | 82 | $reflection = new \ReflectionClass($class); |
83 | 83 | |
84 | - if (!$reflection->implementsInterface('Monolog\Handler\HandlerInterface')) { |
|
84 | + if (!$reflection->implementsInterface('Monolog\Handler\HandlerInterface')) |
|
85 | + { |
|
85 | 86 | throw new \InvalidArgumentException(); |
86 | 87 | } |
87 | 88 |
@@ -101,7 +101,8 @@ |
||
101 | 101 | */ |
102 | 102 | public function checkDependency(BuilderInterface $builder) |
103 | 103 | { |
104 | - if (!class_exists($builder->getMainClassName())) { |
|
104 | + if (!class_exists($builder->getMainClassName())) |
|
105 | + { |
|
105 | 106 | $message = "missing {$builder->getPackageName()}, please install it using composer : composer require {$builder->getPackageName()}"; |
106 | 107 | throw new MissingDependencyException($message); |
107 | 108 | } |