Passed
Pull Request — master (#10)
by
unknown
03:51
created
src/channels/TwilioChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             ->createRequest()
57 57
             ->setMethod('post')
58 58
             ->setUrl($this->getUri())
59
-            ->addHeaders(['Authorization' => 'Basic ' . base64_encode("{$this->accountSid}:{$this->authToken}")])
59
+            ->addHeaders(['Authorization' => 'Basic '.base64_encode("{$this->accountSid}:{$this->authToken}")])
60 60
             ->setData($data)
61 61
             ->send();
62 62
     }
Please login to merge, or discard this patch.
src/Notifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,10 +98,10 @@
 block discarded – undo
98 98
                 foreach ($channels as $channel) {
99 99
                     $channelInstance = $this->getChannelInstance($channel);
100 100
                     try {
101
-                        \Yii::info("Sending notification " . get_class($notification) . " to " . get_class($recipient) . " via {$channel}", __METHOD__);
101
+                        \Yii::info("Sending notification ".get_class($notification)." to ".get_class($recipient)." via {$channel}", __METHOD__);
102 102
                         $response = $channelInstance->send($recipient, $notification);
103 103
                     } catch (\Exception $e) {
104
-                        \Yii::error("An error ocurred sending notification via {$channel}.\n" . $e->getMessage());
104
+                        \Yii::error("An error ocurred sending notification via {$channel}.\n".$e->getMessage());
105 105
                         $response = $e;
106 106
                     }
107 107
                     $this->trigger(self::EVENT_AFTER_SEND, new NotificationEvent([
Please login to merge, or discard this patch.