Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function store(Request $request): RedirectResponse |
||
27 | { |
||
28 | if (! Auth::guard('web')->validate([ |
||
29 | 'email' => $request->user()->email, |
||
|
|||
30 | 'password' => $request->password, |
||
31 | ])) { |
||
32 | throw ValidationException::withMessages([ |
||
33 | 'password' => __('auth.password'), |
||
34 | ]); |
||
35 | } |
||
36 | |||
37 | $request->session()->put('auth.password_confirmed_at', time()); |
||
38 | |||
39 | return redirect()->intended(route('dashboard', absolute: false)); |
||
40 | } |
||
42 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.