Skip to content

Deprecated function parameter #110

Description

@Tagirijus

function _404(callable $handler = null): callable {

Gives me, in PHP 8.4 the warning:

Deprecated: _404(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead ...

Maybe it just have to be changed to

function _404(?callable $handler = null): callable {

(adding a question mark before the type).

Hope this helps. Thanks for this little cool project!

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