diff --git a/lib/Predis.php b/lib/Predis.php index 37d1b5db..770b7d6e 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -914,7 +914,7 @@ class Connection implements IConnection { public function readBytes($length) { if ($length == 0) { - throw new InvalidArgumentException('Length parameter must be greater than 0'); + throw new \InvalidArgumentException('Length parameter must be greater than 0'); } $socket = $this->getSocket(); $value = '';