nrk / predis-async

Asynchronous PHP client library for Redis built on top of ReactPHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Predis\Configuration\Options invokes any callable in its input, meaning on_error has to be wrapped

3onyc opened this issue · comments

commented

Predis\Configuration\Options#L104 invokes any callable to get its value. As a result on_error needs to be wrapped otherwise the following error occurs:

Missing argument 3 for ...{closure}(), called in .../vendor/predis/predis/src/Configuration/Options.php on line 104