No need to check the scheme here.

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

Fixes #268
This commit is contained in:
Daniele Alessandri
2015-07-24 10:39:06 +02:00
parent 4e976a3eb6
commit 946fac4454
+1 -1
View File
@@ -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.');
}