We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
8 | trait ConfirmsPasswords |
||
9 | { |
||
10 | use RedirectsUsers; |
||
11 | |||
12 | /** |
||
13 | * Display the password confirmation view. |
||
14 | * |
||
15 | * @return \Illuminate\Http\Response |
||
|
|||
16 | */ |
||
17 | public function showConfirmForm() |
||
21 | |||
22 | /** |
||
23 | * Confirm the given user's password. |
||
24 | * |
||
25 | * @param \Illuminate\Http\Request $request |
||
26 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse |
||
27 | */ |
||
28 | public function confirm(Request $request) |
||
38 | |||
39 | /** |
||
40 | * Reset the password confirmation timeout. |
||
41 | * |
||
42 | * @param \Illuminate\Http\Request $request |
||
43 | * @return void |
||
44 | */ |
||
45 | protected function resetPasswordConfirmationTimeout(Request $request) |
||
49 | |||
50 | /** |
||
51 | * Get the password confirmation validation rules. |
||
52 | * |
||
53 | * @return array |
||
54 | */ |
||
55 | protected function rules() |
||
61 | |||
62 | /** |
||
63 | * Get the password confirmation validation error messages. |
||
64 | * |
||
65 | * @return array |
||
66 | */ |
||
67 | protected function validationErrorMessages() |
||
71 | } |
||
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.