Test Setup Failed
Pull Request — master (#150)
by Nick
14:47 queued 06:28
created

ForgotPasswordController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Auth/Forgot Password Controller.
4
 *
5
 * @package App\Http\Controllers\Auth
6
 *
7
 * @author    Taylor Otwell <[email protected]>
8
 * @copyright 2018-2020 Nick Menke
9
 *
10
 * @link https://github.com/nlmenke/vertebrae
11
 */
12
13
declare(strict_types=1);
14
15
namespace App\Http\Controllers\Auth;
16
17
use App\Http\Controllers\AbstractController;
18
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
19
20
/**
21
 * Password Reset Controller.
22
 *
23
 * This controller is responsible for handling password reset emails and
24
 * includes a trait which assists in sending these notifications from
25
 * your application to your users. Feel free to explore this trait.
26
 *
27
 * @since 0.0.0-framework introduced
28
 */
29
class ForgotPasswordController extends AbstractController
30
{
31
    use SendsPasswordResetEmails;
32
33
    /**
34
     * Create a new controller instance.
35
     *
36
     * @return void
37
     */
38
    public function __construct()
39
    {
40
        parent::__construct();
41
42
        $this->middleware('guest');
43
    }
44
}
45