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.

TermHasBeenAdded::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Raystech\StarterKit\Events;
4
5
use Raystech\StarterKit\Models\Term;
6
use Illuminate\Queue\SerializesModels;
7
8
class TermHasBeenAdded
9
{
10
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Raystech\StarterKit\Events\TermHasBeenAdded: $id, $class, $connection, $relations
Loading history...
11
12
    public $term;
13
14
    public function __construct(Term $term)
15
    {
16
        $this->term = $term;
17
    }
18
}
19