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.

VerifyNewEmailController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace ProtoneMedia\LaravelVerifyNewEmail\Http;
4
5
use Illuminate\Routing\Controller;
6
7
class VerifyNewEmailController extends Controller
8
{
9
    /*
10
    |--------------------------------------------------------------------------
11
    | Verify New Email Controller
12
    |--------------------------------------------------------------------------
13
    |
14
    | This controller is responsible for verifying and activating new user email
15
    | addresses and uses a simple trait to include this behavior.
16
    |
17
    */
18
19
    use VerifiesPendingEmails;
0 ignored issues
show
Bug introduced by
The trait ProtoneMedia\LaravelVeri...p\VerifiesPendingEmails requires the property $user which is not provided by ProtoneMedia\LaravelVeri...erifyNewEmailController.
Loading history...
20
21
    /**
22
     * Create a new controller instance.
23
     *
24
     * @return void
25
     */
26
    public function __construct()
27
    {
28
        $this->middleware('throttle:6,1');
29
    }
30
}
31