Преглед изворни кода

No need to check the scheme here.

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

Fixes #268
Daniele Alessandri пре 9 година
родитељ
комит
bb909c573d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Connection/StreamConnection.php

+ 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.');
         }