Completed
Push — master ( 9fc33c...1d1c21 )
by Innocent
01:18
created

MessageFollowers::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace FaithGen\News\Jobs;
4
5
use FaithGen\News\Models\News;
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,
15
        InteractsWithQueue,
16
        Queueable,
17
        SerializesModels;
18
19
    public bool $deleteWhenMissingModels = true;
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting T_FUNCTION or T_CONST
Loading history...
20
    protected News $article;
21
22
    /**
23
     * Create a new job instance.
24
     *
25
     * @param News $article
26
     */
27
    public function __construct(News $article)
28
    {
29
        $this->article = $article;
30
    }
31
32
    /**
33
     * Execute the job.
34
     *
35
     * @return void
36
     */
37
    public function handle()
38
    {
39
        //
40
    }
41
}
42