ForgotPasswordController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 23
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace MedianetDev\LaravelAuthApi\Http\Controllers;
4
5
use MedianetDev\LaravelAuthApi\Http\Controllers\Traits\SendsPasswordResetEmails;
6
7
class ForgotPasswordController extends Controller
8
{
9
    /*
10
    |--------------------------------------------------------------------------
11
    | Password Reset Controller
12
    |--------------------------------------------------------------------------
13
    |
14
    | This controller is responsible for handling password reset emails and
15
    | includes a trait which assists in sending these notifications from
16
    | your application to your users. Feel free to explore this trait.
17
    |
18
    */
19
20
    use SendsPasswordResetEmails;
0 ignored issues
show
Bug introduced by
The trait MedianetDev\LaravelAuthA...endsPasswordResetEmails requires the property $email which is not provided by MedianetDev\LaravelAuthA...orgotPasswordController.
Loading history...
21
22
    /**
23
     * Create a new controller instance.
24
     *
25
     * @return void
26
     */
27
    public function __construct()
28
    {
29
        $this->middleware('guest');
30
    }
31
}
32