We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function confirm(Request $request) |
||
29 | { |
||
30 | $request->validate($this->rules(), $this->validationErrorMessages()); |
||
31 | |||
32 | $this->resetPasswordConfirmationTimeout($request); |
||
33 | |||
34 | return $request->wantsJson() |
||
35 | ? new Response('', 204) |
||
36 | : redirect()->intended($this->redirectPath()); |
||
37 | } |
||
38 | |||
72 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.