Issues (42)

src/Jobs/MessageFollowers.php (1 issue)

Severity
1
<?php
2
3
namespace FaithGen\Sermons\Jobs;
4
5
use FaithGen\Sermons\Models\Sermon;
6
use Illuminate\Bus\Queueable;
7
use Illuminate\Contracts\Queue\ShouldQueue;
8
use Illuminate\Foundation\Bus\Dispatchable;
9
use Illuminate\Queue\InteractsWithQueue;
10
use Illuminate\Queue\SerializesModels;
11
12
class MessageFollowers implements ShouldQueue
13
{
14
    use Dispatchable,
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by FaithGen\Sermons\Jobs\MessageFollowers: $id, $relations, $class, $keyBy
Loading history...
15
        InteractsWithQueue,
16
        Queueable,
17
        SerializesModels;
18
19
    public bool $deleteWhenMissingModels = true;
20
    protected Sermon $sermon;
21
22
    /**
23
     * Create a new job instance.
24
     *
25
     * @param Sermon $sermon
26
     */
27
    public function __construct(Sermon $sermon)
28
    {
29
        $this->sermon = $sermon;
30
    }
31
32
    /**
33
     * Execute the job.
34
     *
35
     * @return void
36
     */
37
    public function handle()
38
    {
39
        //
40
    }
41
}
42