Skip to content

Issues with the $callback parameter type in the last and first methods #201

@dragomano

Description

@dragomano

Deprecated: eftec\bladeone\BladeOne::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in BladeOne.php on line 1101

Deprecated: eftec\bladeone\BladeOne::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in BladeOne.php on line 1128

PHP 8.4.1

Possible solution: callable $callback = null => ?callable $callback = null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions