@@ -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'] ?? ''); |
|
15 | - $port = (int) ($options['host'] ?? 514); |
|
16 | - $facility = (int) ($options['facility'] ?? LOG_USER); |
|
17 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
14 | + $host = (string) ($options['host'] ?? ''); |
|
15 | + $port = (int) ($options['host'] ?? 514); |
|
16 | + $facility = (int) ($options['facility'] ?? LOG_USER); |
|
17 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
18 | 18 | $bubble = (boolean) ($options['bubble'] ?? true); |
19 | - $ident = (string) ($options['ident'] ?? 'php'); |
|
19 | + $ident = (string) ($options['ident'] ?? 'php'); |
|
20 | 20 | |
21 | 21 | return new SyslogUdpHandler( |
22 | 22 | $host, |