|
@@ -1,5 +1,5 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
|
-declare(strict_types=1); |
|
|
2
|
+declare(strict_types = 1); |
|
3
|
3
|
|
|
4
|
4
|
namespace WShafer\PSR11MonoLog\Handler; |
|
5
|
5
|
|
|
@@ -21,9 +21,9 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
{ |
|
22
|
22
|
$stream = $this->getStream($options['stream'] ?? null); |
|
23
|
23
|
|
|
24
|
|
- $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
|
24
|
+ $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
25
|
25
|
$bubble = (boolean) ($options['bubble'] ?? true); |
|
26
|
|
- $filePermission = (int) ($options['filePermission'] ?? 0644); |
|
|
26
|
+ $filePermission = (int) ($options['filePermission'] ?? 0644); |
|
27
|
27
|
$useLocking = (boolean) ($options['useLocking'] ?? true); |
|
28
|
28
|
|
|
29
|
29
|
return new StreamHandler($stream, $level, $bubble, $filePermission, $useLocking); |
Please login to merge, or discard this patch.