The type Notifiable for parameter $notifiable is a trait, and thus cannot be used for type-hinting in PHP. Maybe consider adding an interface and use that for type-hinting?
Loading history...
22
* @param Notification $notification
23
*/
24
public function __construct($notifiable, Notification $notification)