Passed
Branch master (d88b3b)
by Prateek
03:56
created

ForgotPasswordController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 28
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A showLinkRequestForm() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
namespace App\Http\Controllers\Backend\Auth;
4
5
use App\Http\Controllers\Controller;
0 ignored issues
show
Bug introduced by
The type App\Http\Controllers\Controller was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
7
8
class ForgotPasswordController extends Controller
9
{
10
    /*
11
    |--------------------------------------------------------------------------
12
    | Password Reset Controller
13
    |--------------------------------------------------------------------------
14
    |
15
    | This controller is responsible for handling password reset emails and
16
    | includes a trait which assists in sending these notifications from
17
    | your application to your users. Feel free to explore this trait.
18
    |
19
    */
20
21
    use SendsPasswordResetEmails;
22
23
    /**
24
     * Create a new controller instance.
25
     *
26
     * @return void
27
     */
28
    public function __construct()
29
    {
30
        $this->middleware('guest');
31
    }
32
33
    public function showLinkRequestForm()
34
    {
35
        return view('backend.auth.passwords.email');
36
    }
37
}
38