File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Illuminate/Notifications Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Contracts \Queue \ShouldQueue ;
6
6
use Illuminate \Contracts \Translation \HasLocalePreference ;
7
- use Illuminate \Database \Eloquent \Collection as ModelCollection ;
7
+ use Illuminate \Database \Eloquent \Collection as EloquentCollection ;
8
8
use Illuminate \Database \Eloquent \Model ;
9
9
use Illuminate \Notifications \Events \NotificationSending ;
10
10
use Illuminate \Notifications \Events \NotificationSent ;
@@ -247,7 +247,7 @@ protected function formatNotifiables($notifiables)
247
247
{
248
248
if (! $ notifiables instanceof Collection && ! is_array ($ notifiables )) {
249
249
return $ notifiables instanceof Model
250
- ? new ModelCollection ([$ notifiables ]) : [$ notifiables ];
250
+ ? new EloquentCollection ([$ notifiables ]) : [$ notifiables ];
251
251
}
252
252
253
253
return $ notifiables ;
You can’t perform that action at this time.
0 commit comments