Passed
Pull Request — master (#10)
by
unknown
03:51
created
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.