瀏覽代碼

Bugfix: missing backslash for root namespace.

Daniele Alessandri 15 年之前
父節點
當前提交
ea04aa67c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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  = '';