0
I noticed that when creating a controller in Laravel it informs that some methods will return an object \Illuminate\Http\Response
.
I used a dd() at the end of the method and saw the following return: \Illuminate\View\View
and in another method \Illuminate\Http\RedirectResponse
In this case, when documenting the methods I should always consider: \Illuminate\Http\Response
or I can insert the object displayed in the method output dd()
?
Show an example of documentation ... I could not see your doubt.
– novic