Эх сурвалжийг харах

No need to check the scheme here.

Bug introduced in v1.0-dev after changes to support redis scheme.

Fixes #268
Daniele Alessandri 9 жил өмнө
parent
commit
bb909c573d

+ 1 - 1
src/Connection/StreamConnection.php

@@ -117,7 +117,7 @@ class StreamConnection extends AbstractConnection
      */
     protected function unixStreamInitializer(ParametersInterface $parameters)
     {
-        if ($scheme === 'unix' && !isset($parameters->path)) {
+        if (!isset($parameters->path)) {
             throw new InvalidArgumentException('Missing UNIX domain socket path.');
         }