nrk/predis-async

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

3onyc opened this issue · 0 comments

3onyc 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