ForgotPasswordController::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
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