Skip to content

Commit d5c747d

Browse files
committed
ICL: getNotificationRecipients method fixed.
1 parent ec4c2c4 commit d5c747d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Provides logging and email notifications for Laravel console commands.
3030
protected function getNotificationRecipients()
3131
{
3232
return [
33-
'[email protected]' => 'John Doe',
34-
'[email protected]' => 'Jane Smith',
33+
['address' => '[email protected]', 'name' => 'John Doe'],
34+
['address' => '[email protected]', 'name' => 'Jane Smith'],
3535
];
3636
}
3737

src/Loggable.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ protected function getLogPath()
136136

137137
protected function getNotificationRecipients()
138138
{
139-
return [];
139+
return [
140+
['address' => null, 'name' => null],
141+
];
140142
}
141143

142144
protected function getNotificationSubject()

0 commit comments

Comments
 (0)