You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the predis driver is created, there is no current way to
configure the predis client options (such as setting the cluster
mode to redis). This merge allows you to add a predis_options
parameter to the dsn to allow configuration of options.
if (null !== $params['class'] && !is_a($params['class'], \Predis\Client::class, true)) {
125
+
thrownewInvalidArgumentException(sprintf('Cannot find the "redis" extension and expected an instance of %s, instead got: %s', \Predis\Client::class, $params['class']));
0 commit comments