Skip to content

Type of Clock::$config must be array #24

@pgrzego

Description

@pgrzego

With the newer versions of Codeception, the internal variables have declared types. So whatever extends the abstract class Module (like Clock) needs to have it declared too. Otherwise, this error appears:

PHP Fatal error:  Type of JeckelLab\Clock\CodeceptionHelper\Clock::$config must be array (as in class Codeception\Module) in /var/www/project/vendor/jeckel-lab/clock/src/CodeceptionHelper/Clock.php on line 25

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