RouterRegisterNodeAnalyzer::isRegisterMethodStaticCall() expects $node->class to be Illuminate\Support\Facades\Route, but it can in fact be just Route (\Route).
This can be resolved by adding use Illuminate\Support\Facades\Route; in the routes file, but it's not obvious.
RouterRegisterNodeAnalyzer::isRegisterMethodStaticCall()
expects$node->class
to beIlluminate\Support\Facades\Route
, but it can in fact be justRoute
(\Route
).This can be resolved by adding
use Illuminate\Support\Facades\Route;
in the routes file, but it's not obvious.