Can't remember if this was always the case with PHPantom or not. But when working in Blade files, basically every passed in variable is said to be undefined right now.
Example controller:
return view('someviewname')->with('results', $results);
In view:
@foreach ($results as $r)
Will show a Undefined variable '$results' in the IDE.
Can't remember if this was always the case with PHPantom or not. But when working in Blade files, basically every passed in variable is said to be undefined right now.
Example controller:
In view:
Will show a
Undefined variable '$results'in the IDE.