Issues (73)

src/Controllers/Auth/ForgotPasswordController.php (1 issue)

1
<?php
2
3
namespace Chuckbe\Chuckcms\Controllers\Auth;
4
5
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
6
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
0 ignored issues
show
The type Illuminate\Foundation\Au...endsPasswordResetEmails 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...
7
use Illuminate\Foundation\Bus\DispatchesJobs;
8
use Illuminate\Foundation\Validation\ValidatesRequests;
9
use Illuminate\Routing\Controller as BaseController;
10
11
class ForgotPasswordController extends BaseController
12
{
13
    /*
14
    |--------------------------------------------------------------------------
15
    | Password Reset Controller
16
    |--------------------------------------------------------------------------
17
    |
18
    | This controller is responsible for handling password reset emails and
19
    | includes a trait which assists in sending these notifications from
20
    | your application to your users. Feel free to explore this trait.
21
    |
22
    */
23
24
    use AuthorizesRequests;
25
    use DispatchesJobs;
26
    use ValidatesRequests;
27
    use SendsPasswordResetEmails;
28
29
    /**
30
     * Create a new controller instance.
31
     *
32
     * @return void
33
     */
34
    public function __construct()
35
    {
36
        $this->middleware('guest');
37
    }
38
}
39