Skip to content

Uncaught think\exception\ErrorException : attribute should be used to temporarily suppress the notice #66

Open
@ncard23

Description

@ncard23

hi
after i do the demo,i found some bugs

During inheritance of Iterator: Uncaught think\exception\ErrorException: Return type of MacFJA\RediSearch\Redis\Response\PaginatedResponse::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress

image

my php version is 8.2.16

after i add #[\ReturnTypeWillChange] on the top of current() and other function in

macfja/redisearch/src/Redis/Response/PaginatedResponse.php

everything goes well

is there a plan to do some update ?

@MacFJA

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