Skip to content

PHP 8.0 deprecation notice #78

@mxdpeep

Description

@mxdpeep

Required parameter $pivot follows optional parameter $after

/vendor/cheprasov/php-redis-client/src/RedisClient/Command/Traits/Version2x6/ListsCommandsTrait.php on line 94

see: https://php.watch/versions/8.0/deprecate-required-param-after-optional

public function linsert($key, $after = true, $pivot, $value) { return $this->returnCommand(['LINSERT'], $key, [$key, $after ? 'AFTER' : 'BEFORE', $pivot, $value]); }

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