Completed
Push — master ( 38fa1b...50cdc8 )
by Westin
06:25
created
src/Handler/TelegramBotHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Handler/SendGridHandlerFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Handler/LogmaticHandlerFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Service/HandlerManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.