mirror of
https://github.com/predis/predis.git
synced 2026-09-13 20:07:28 +00:00
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:
@@ -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.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user