The expression return view('rakshak::otp.verify') returns the type Illuminate\View\View which is incompatible with the documented return type Thinkstudeo\Rakshak\Http\Controllers\View.
Loading history...
18
}
19
20
/**
21
* Verify the otp entered by the user with the value from the database.
22
* When verified redirect the user to the intended page.
The expression return redirect($request...ssion()->previousUrl()) returns the type Illuminate\Http\Redirect...nate\Routing\Redirector which is incompatible with the documented return type void.