The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Mail\PendingAttendanceReminder: $id, $relations, $class, $keyBy
Loading history...
15
16
/**
17
* Create a new message instance.
18
*
19
* @return void
20
*/
21
public function __construct(public Teacher $teacher, public $events)
It seems like __('Incomplete Attendance') can also be of type array and array; however, parameter $subject of Illuminate\Mail\Mailable::subject() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation