Answer the question
In order to leave comments, you need to log in
Code analyzer in laravel how to register config?
I installed a code analyzer on the project and there are a lot of errors like
Method App\Http\Controllers\MainPage::index() should return Illuminate\Http\Response but returns Illuminate\View\View
almost every rest class.
Question advise the code analyzer or how to reconfigure this one so that it works fine with laravel 6 I
use https://github.com/nunomaduro/larastan now
Answer the question
In order to leave comments, you need to log in
Do you have it above each controller method?
@return \Illuminate\Http\Response
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question