@@ -98,10 +98,10 @@ |
||
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([ |