Skip to content

Magic Prophecy methods should accept argument tokens for any argument #29

Open
@stof

Description

@stof

Currently, using a Prophecy argument token when writing a Prophecy mock triggers a warning about invalid type.
Instead, all magic mock method should have their arguments accepting their original argument type OR \Prophecy\Argument\Token\TokenInterface

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions