Skip to content

Socket connection: type error #94

@her-ur

Description

@her-ur

If i use socket connection:

redis:
    host: '/tmp/redis.sock'

There is an error:

TypeError
Argument 2 passed to Kdyby\Redis\RedisClient::__construct() must be of the type int, null given, called in /Users/karelborkovec/Develop/Web/freelo/vendor/kdyby/redis/src/Kdyby/Redis/DI/RedisExtension.php on line 300

It's because of this line of code. And if this is a socket connection it should be reflected here.
What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions