Skip to content

Autocomplete not working in closures #38

@icanhazstring

Description

@icanhazstring

Hi there,

i noticed the autocomplete for prophecy and mockobjects are not working in closures.

As seen here:
image

For easy copy paste:

$class = $this->prophesize(\Exception::class); $class->getLine()->shouldBeCalled(); $closure = function() use ($class) { $class->getLine()-> }; 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions