关于 56 节的遗漏?
if($user){
$user->notify(new YouWereMentioned);
}
此处测试会报错,缺少参数。修改为
if($user){
$user->notify(new YouWereMentioned ($reply));
}
推荐文章: