Skip to content

Commit 510c07d

Browse files
Update src/Lib/Configuration.php
Co-authored-by: Markus Poerschke <markus@poerschke.nrw>
1 parent 73007ed commit 510c07d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Lib/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function __construct(array $config)
113113
// Allow custom logger injection
114114
if (isset($config['logger'])) {
115115
if (!$config['logger'] instanceof LoggerInterface) {
116-
throw new \InvalidArgumentException('Logger must implement Psr\Log\LoggerInterface');
116+
throw new ConfigError('Logger must implement Psr\Log\LoggerInterface');
117117
}
118118

119119
if (isset($config['log_level'])) {

0 commit comments

Comments
 (0)