Completed
Push — dev ( 061f38...c1e495 )
by Marc
02:36
created

PasswordController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Mascame\Artificer\Http\Controllers\Auth;
4
5
use Illuminate\Foundation\Auth\ResetsPasswords;
6
use Mascame\Artificer\Http\Controllers\BaseController;
7
8
class PasswordController extends BaseController
9
{
10
    /*
11
    |--------------------------------------------------------------------------
12
    | Password Reset Controller
13
    |--------------------------------------------------------------------------
14
    |
15
    | This controller is responsible for handling password reset requests
16
    | and uses a simple trait to include this behavior. You're free to
17
    | explore this trait and override any methods you wish to tweak.
18
    |
19
    */
20
21
    use ResetsPasswords;
22
23
    /**
24
     * Create a new password controller instance.
25
     *
26
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
27
     */
28
    public function __construct()
29
    {
30
        $this->middleware($this->guestMiddleware());
31
32
        parent::__construct();
33
    }
34
}
35