@@ -11,10 +11,10 @@ |
||
| 11 | 11 | { |
| 12 | 12 | public function __invoke(array $options) |
| 13 | 13 | { |
| 14 | - $token = (string) ($options['token'] ?? ''); |
|
| 15 | - $region = (string) ($options['region'] ?? ''); |
|
| 16 | - $useSSL = (bool) ($options['useSSL'] ?? true); |
|
| 17 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 14 | + $token = (string) ($options['token'] ?? ''); |
|
| 15 | + $region = (string) ($options['region'] ?? ''); |
|
| 16 | + $useSSL = (bool) ($options['useSSL'] ?? true); |
|
| 17 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 18 | 18 | $bubble = (boolean) ($options['bubble'] ?? true); |
| 19 | 19 | |
| 20 | 20 | return new InsightOpsHandler( |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | { |
| 12 | 12 | public function __invoke(array $options) |
| 13 | 13 | { |
| 14 | - $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 15 | - $channel = (string) ($options['channel'] ?? ''); |
|
| 16 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 14 | + $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 15 | + $channel = (string) ($options['channel'] ?? ''); |
|
| 16 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 17 | 17 | $bubble = (boolean) ($options['bubble'] ?? true); |
| 18 | 18 | |
| 19 | 19 | return new TelegramBotHandler( |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $sqsClient = $this->getService($options['sqsClient'] ?? null); |
| 19 | 19 | |
| 20 | - $queueUrl = (string) ($options['queueUrl'] ?? Logger::DEBUG); |
|
| 21 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 20 | + $queueUrl = (string) ($options['queueUrl'] ?? Logger::DEBUG); |
|
| 21 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 22 | 22 | $bubble = (boolean) ($options['bubble'] ?? true); |
| 23 | 23 | |
| 24 | 24 | return new SqsHandler($sqsClient, $queueUrl, $level, $bubble); |