Skip to content

Probe view() calls for Blade variables #296

Description

@CicerBro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions