diff --git a/lib/Predis/Options/ClientCluster.php b/lib/Predis/Options/ClientCluster.php index 7da27712..09c51b3e 100644 --- a/lib/Predis/Options/ClientCluster.php +++ b/lib/Predis/Options/ClientCluster.php @@ -65,7 +65,7 @@ class ClientCluster extends Option default: // TODO: we should not even allow non-string values here. if (is_string($fqnOrType) && !class_exists($fqnOrType)) { - throw new \InvalidArgumentException('Class $fqnOrType does not exist'); + throw new \InvalidArgumentException("Class $fqnOrType does not exist"); } return function() use($fqnOrType) { return new $fqnOrType();