GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

GuitarWasUpdated   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 19
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace App\Events;
4
5
use App\Guitar;
6
use Illuminate\Queue\SerializesModels;
7
8
class GuitarWasUpdated extends Event
9
{
10
    use SerializesModels;
11
12
    /**
13
     * @var Guitar
14
     */
15
    public $guitar;
16
17
    /**
18
     * Create a new event instance.
19
     *
20
     * @param Guitar $guitar
21
     */
22
    public function __construct(Guitar $guitar)
23
    {
24
        $this->guitar = $guitar;
25
    }
26
}
27