@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $options = $options ?? $this->getServiceOptions($container, $requestedName); |
| 30 | 30 | |
| 31 | 31 | return new UidProcessor( |
| 32 | - isset($options['length']) ? (int)$options['length'] : 7 |
|
| 32 | + isset($options['length']) ? (int) $options['length'] : 7 |
|
| 33 | 33 | ); |
| 34 | 34 | } |
| 35 | 35 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $ident, |
| 44 | 44 | $options['facility'] ?? LOG_USER, |
| 45 | 45 | $options['level'] ?? Logger::DEBUG, |
| 46 | - isset($options['bubble']) ? (bool)$options['bubble'] : true, |
|
| 46 | + isset($options['bubble']) ? (bool) $options['bubble'] : true, |
|
| 47 | 47 | $options['logopts'] ?? LOG_PID |
| 48 | 48 | ); |
| 49 | 49 | } |
@@ -37,10 +37,10 @@ |
||
| 37 | 37 | $options = $options ?? $this->getServiceOptions($container, $requestedName); |
| 38 | 38 | |
| 39 | 39 | /** @var Level|LevelName|LogLevel::* $level */ |
| 40 | - $level = isset($options['level']) ? (int)$options['level'] : Logger::DEBUG; |
|
| 40 | + $level = isset($options['level']) ? (int) $options['level'] : Logger::DEBUG; |
|
| 41 | 41 | |
| 42 | 42 | return new ErrorLogHandler( |
| 43 | - isset($options['message_type']) ? (int)$options['message_type'] : ErrorLogHandler::OPERATING_SYSTEM, |
|
| 43 | + isset($options['message_type']) ? (int) $options['message_type'] : ErrorLogHandler::OPERATING_SYSTEM, |
|
| 44 | 44 | $level, |
| 45 | 45 | !isset($options['bubble']) || $options['bubble'], |
| 46 | 46 | isset($options['expand_new_lines']) && $options['expand_new_lines'] |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** @var Level|LevelName|LogLevel::* $level */ |
| 49 | - $level = isset($options['level']) ? (int)$options['level'] : Logger::DEBUG; |
|
| 49 | + $level = isset($options['level']) ? (int) $options['level'] : Logger::DEBUG; |
|
| 50 | 50 | |
| 51 | 51 | $handler = new PsrHandler( |
| 52 | 52 | $this->getLogger($container, $options['logger'], $requestedName), |