Skip to content

Missing argument type for Subject::beConstructedThrough #1501

@Kozzi11

Description

@Kozzi11

Because of this PR: #1463
Many of my tests now failing with:

exception [err:TypeError("PhpSpec\Wrapper\Subject::beConstructedThrough(): Argument #1 ($factoryMethod) must be of type array|string, Closure given, called in /var/www/symfony/vendor/phpspec/phpspec/src/PhpSpec/ObjectBehavior.php on line 155")] has been thrown.

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