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 44
55use Illuminate \Contracts \Queue \ShouldQueue ;
66use Illuminate \Contracts \Translation \HasLocalePreference ;
7- use Illuminate \Database \Eloquent \Collection as ModelCollection ;
7+ use Illuminate \Database \Eloquent \Collection as EloquentCollection ;
88use Illuminate \Database \Eloquent \Model ;
99use Illuminate \Notifications \Events \NotificationSending ;
1010use Illuminate \Notifications \Events \NotificationSent ;
@@ -247,7 +247,7 @@ protected function formatNotifiables($notifiables)
247247 {
248248 if (! $ notifiables instanceof Collection && ! is_array ($ notifiables )) {
249249 return $ notifiables instanceof Model
250- ? new ModelCollection ([$ notifiables ]) : [$ notifiables ];
250+ ? new EloquentCollection ([$ notifiables ]) : [$ notifiables ];
251251 }
252252
253253 return $ notifiables ;
You can’t perform that action at this time.
0 commit comments