Skip to content

Phake::verify()->method() takes on method return type rather than Phake_CallRecorder_VerifierResult #5

@timheilig

Description

@timheilig

This is mostly benign, but causes issues when the verified method has a void return and you use it as an inOrder argument:

Phake::inOrder(Phake::verify($mock)->methodWithVoidReturn())

gives a "void method 'methodWithVoidReturn' result used" warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions