@@ -12,9 +12,9 @@ |
||
| 12 | 12 | { |
| 13 | 13 | public function __invoke(array $options) |
| 14 | 14 | { |
| 15 | - $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 16 | - $channel = (string) ($options['channel'] ?? ''); |
|
| 17 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 15 | + $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 16 | + $channel = (string) ($options['channel'] ?? ''); |
|
| 17 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 18 | 18 | $bubble = (bool) ($options['bubble'] ?? true); |
| 19 | 19 | |
| 20 | 20 | return new TelegramBotHandler( |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function __invoke(array $options) |
| 17 | 17 | { |
| 18 | - $apiUser = (string) ($options['apiUser'] ?? ''); |
|
| 19 | - $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 20 | - $from = (string) ($options['from'] ?? ''); |
|
| 21 | - $to = ($options['to'] ?? ''); |
|
| 22 | - $subject = (string) ($options['subject'] ?? ''); |
|
| 23 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 18 | + $apiUser = (string) ($options['apiUser'] ?? ''); |
|
| 19 | + $apiKey = (string) ($options['apiKey'] ?? ''); |
|
| 20 | + $from = (string) ($options['from'] ?? ''); |
|
| 21 | + $to = ($options['to'] ?? ''); |
|
| 22 | + $subject = (string) ($options['subject'] ?? ''); |
|
| 23 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 24 | 24 | $bubble = (bool) ($options['bubble'] ?? true); |
| 25 | 25 | |
| 26 | 26 | return new SendGridHandler( |
@@ -18,11 +18,11 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function __invoke(array $options) |
| 20 | 20 | { |
| 21 | - $token = (string) ($options['token'] ?? ''); |
|
| 22 | - $hostname = (string) ($options['hostname'] ?? ''); |
|
| 23 | - $appname = (string) ($options['appname'] ?? ''); |
|
| 24 | - $useSSL = (bool) ($options['useSSL'] ?? true); |
|
| 25 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 21 | + $token = (string) ($options['token'] ?? ''); |
|
| 22 | + $hostname = (string) ($options['hostname'] ?? ''); |
|
| 23 | + $appname = (string) ($options['appname'] ?? ''); |
|
| 24 | + $useSSL = (bool) ($options['useSSL'] ?? true); |
|
| 25 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
| 26 | 26 | $bubble = (bool) ($options['bubble'] ?? true); |
| 27 | 27 | |
| 28 | 28 | return new LogmaticHandler( |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | { |
| 77 | 77 | if (!$this->getFormatterManager()->has($id)) { |
| 78 | 78 | throw new UnknownServiceException( |
| 79 | - 'Unable to locate formatter ' . $id |
|
| 79 | + 'Unable to locate formatter '.$id |
|
| 80 | 80 | ); |
| 81 | 81 | } |
| 82 | 82 | |