@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace WShafer\PSR11MonoLog\Handler; |
5 | 5 | |
@@ -11,12 +11,12 @@ discard block |
||
11 | 11 | { |
12 | 12 | public function __invoke(array $options) |
13 | 13 | { |
14 | - $host = (string) ($options['host'] ?? 'localhost'); |
|
15 | - $port = (int) ($options['port'] ?? 5984); |
|
16 | - $dbname = (string) ($options['port'] ?? 'logger'); |
|
17 | - $userName = (string) ($options['username'] ?? ''); |
|
18 | - $password = (string) ($options['password'] ?? ''); |
|
19 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
14 | + $host = (string) ($options['host'] ?? 'localhost'); |
|
15 | + $port = (int) ($options['port'] ?? 5984); |
|
16 | + $dbname = (string) ($options['port'] ?? 'logger'); |
|
17 | + $userName = (string) ($options['username'] ?? ''); |
|
18 | + $password = (string) ($options['password'] ?? ''); |
|
19 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
20 | 20 | $bubble = (boolean) ($options['bubble'] ?? true); |
21 | 21 | |
22 | 22 | return new CouchDBHandler( |