Completed
Push — master ( 285219...48efb4 )
by Quim González
03:39
created

UserLogedNotification   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 21
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A handle() 0 3 1
1
<?php
2
3
namespace App\Listeners;
4
5
use App\Events\LogedUser;
6
use Illuminate\Queue\InteractsWithQueue;
7
use Illuminate\Contracts\Queue\ShouldQueue;
8
use Illuminate\Support\Facades\Log;
9
10
class UserLogedNotification
11
{
12
    /**
13
     * Create the event listener.
14
     *
15
     * @return void
16
     */
17
    public function __construct()
18
    {
19
        //
20
    }
21
22
    /**
23
     * Handle the event.
24
     *
25
     * @param  object  $event
26
     * @return void
27
     */
28
    public function handle(LogedUser $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

28
    public function handle(/** @scrutinizer ignore-unused */ LogedUser $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...
29
    {
30
        Log::info("Todo UserLoggedNotification");
31
32
    }
33
}
34