1 | <?php |
||
24 | class PhoneVerificationController extends AbstractController |
||
25 | { |
||
26 | /** |
||
27 | * Show the phone verification form. |
||
28 | * |
||
29 | * @param \Rinvex\Fort\Http\Requests\Frontend\PhoneVerificationRequest $request |
||
30 | * |
||
31 | * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
|
|||
32 | */ |
||
33 | public function request(PhoneVerificationRequest $request) |
||
40 | |||
41 | /** |
||
42 | * Process the phone verification request form. |
||
43 | * |
||
44 | * @param \Rinvex\Fort\Http\Requests\Frontend\PhoneVerificationRequest $request |
||
45 | * |
||
46 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
47 | */ |
||
48 | public function send(PhoneVerificationRequest $request) |
||
59 | |||
60 | /** |
||
61 | * Show the phone verification form. |
||
62 | * |
||
63 | * @param \Rinvex\Fort\Http\Requests\Frontend\PhoneVerification $request |
||
64 | * |
||
65 | * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
66 | */ |
||
67 | public function verify(PhoneVerification $request) |
||
76 | |||
77 | /** |
||
78 | * Process the phone verification form. |
||
79 | * |
||
80 | * @param \Rinvex\Fort\Http\Requests\Frontend\PhoneVerification $request |
||
81 | * |
||
82 | * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
83 | */ |
||
84 | public function process(PhoneVerification $request) |
||
118 | } |
||
119 |
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.