The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Events\CandidateRated: $id, $relations, $class, $connection, $keyBy
Loading history...
16
17
/**
18
* @var Candidate
19
*/
20
public $candidate;
21
22
public $userId;
23
public $previousRate;
24
public $newRate;
25
26
/**
27
* Create a new event instance.
28
*
29
* @param Candidate $candidate
30
* @param $previousRate
31
* @param $newRate
32
* @param $userId
33
*/
34
public function __construct(Candidate $candidate, $previousRate, $newRate, $userId)