MessageFollowUsers   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 20
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A handle() 0 2 1
1
<?php
2
3
namespace FaithGen\Gallery\Listeners\Album\Created;
4
5
use FaithGen\Gallery\Events\Album\Created;
6
use Illuminate\Contracts\Queue\ShouldQueue;
7
8
class MessageFollowUsers implements ShouldQueue
9
{
10
    /**
11
     * Create the event listener.
12
     *
13
     * @return void
14
     */
15
    public function __construct()
16
    {
17
        //
18
    }
19
20
    /**
21
     * Handle the event.
22
     *
23
     * @param  Created  $event
24
     * @return void
25
     */
26
    public function handle(Created $event)
0 ignored issues
show
Unused Code introduced by
The parameter $event is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

26
    public function handle(/** @scrutinizer ignore-unused */ Created $event)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
27
    {
28
        //
29
    }
30
}
31