The expression return view('blog.pages.contact', $pageData) returns the type Illuminate\View\View which is incompatible with the documented return type Illuminate\Http\Response.
Loading history...
27
}
28
29
/**
30
* Send Contact Email Function via Mail.
31
*
32
* @return \Illuminate\Http\Response
33
*/
34
public function contactSend(ContactRequest $request)
The expression return back()->withSucce...ontact.messages.sent')) also could return the type Illuminate\Http\RedirectResponse which is incompatible with the documented return type Illuminate\Http\Response.