Skip to content

Connection method input type mismatch #329

@AKurmaleev

Description

@AKurmaleev

Reverb Version

1.5.0

Laravel Version

11.44.2

PHP Version

8.3.3

Description

Cannot mock Connection because of the control funciton parameter type mismatch

Steps To Reproduce

Mockery(\Laravel\Reverb\Connection);
Error:
Image

Issue in the code:
Image

Constant is int:
Image

Used in Frame constructor as int as well:
Image

Please just change the parameter type to the int to comply with strict typization PHP was going towards for years.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions