|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-declare(strict_types=1); |
|
|
3
|
+declare(strict_types = 1); |
|
4
|
4
|
|
|
5
|
5
|
namespace leinonen\Yii2Monolog\Factories; |
|
6
|
6
|
|
|
@@ -69,7 +69,7 @@ discard block |
|
|
block discarded – undo |
|
69
|
69
|
private function validateHandler(string $handlerClass): void |
|
70
|
70
|
{ |
|
71
|
71
|
$handlerInterface = HandlerInterface::class; |
|
72
|
|
- if (! (new \ReflectionClass($handlerClass))->implementsInterface($handlerInterface)) { |
|
|
72
|
+ if ( ! (new \ReflectionClass($handlerClass))->implementsInterface($handlerInterface)) { |
|
73
|
73
|
throw new \InvalidArgumentException("{$handlerClass} doesn't implement {$handlerInterface}"); |
|
74
|
74
|
} |
|
75
|
75
|
} |
Please login to merge, or discard this patch.