Explorar o código

Bugfix: missing backslash for root namespace.

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
ea04aa67c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Predis.php

+ 1 - 1
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  = '';