ForgotPasswordController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A showLinkRequestForm() 0 3 1
1
<?php
2
3
namespace Pratiksh\Adminetic\Http\Controllers\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
    // Overriding Default Email Reset Form
24
25
    /**
26
     * Display the form to request a password reset link.
27
     *
28
     * @return \Illuminate\View\View
29
     */
30
    public function showLinkRequestForm()
31
    {
32
        return view('adminetic::admin.auth.passwords.email');
33
    }
34
}
35