Skip to content

current_time return type changed #189

@szepeviktor

Description

@szepeviktor

assertType('int|string', current_time(new stdClass()));

Has core changed its type??
No: int|string Integer if $type is 'timestamp' or 'U', string otherwise.

https://app.travis-ci.com/github/szepeviktor/phpstan-wordpress/jobs/604190969#L481 👀

Anyone with a keyboard? :)

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