1 | <?php |
||
23 | class EmailVerificationController extends AbstractController |
||
24 | { |
||
25 | /** |
||
26 | * Show the email verification request form. |
||
27 | * |
||
28 | * @return \Illuminate\Http\Response |
||
|
|||
29 | */ |
||
30 | public function showEmailVerificationRequest() |
||
34 | |||
35 | /** |
||
36 | * Process the email verification request form. |
||
37 | * |
||
38 | * @param \Rinvex\Fort\Http\Requests\EmailVerification $request |
||
39 | * |
||
40 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
41 | */ |
||
42 | public function processEmailVerificationRequest(EmailVerification $request) |
||
63 | |||
64 | /** |
||
65 | * Process the email verification. |
||
66 | * |
||
67 | * @param \Rinvex\Fort\Http\Requests\EmailVerification $request |
||
68 | * |
||
69 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
70 | */ |
||
71 | public function processEmailVerification(EmailVerification $request) |
||
98 | } |
||
99 |
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.