浏览代码

Make some fields of Predis\Client private.

Daniele Alessandri 9 年之前
父节点
当前提交
185e31e080
共有 1 个文件被更改,包括 13 次插入2 次删除
  1. 13 2
      src/Client.php

+ 13 - 2
src/Client.php

@@ -43,8 +43,19 @@ class Client implements ClientInterface, \IteratorAggregate
 {
     const VERSION = '2.0.0-dev';
 
-    protected $connection;
-    protected $options;
+    /**
+     * @var Predis\Configuration\OptionsInterface
+     */
+    private $options;
+
+    /**
+     * @var Predis\Connection\ConnectionInterface
+     */
+    private $connection;
+
+    /**
+     * @var Predis\Command\FactoryInterface
+     */
     private $commands;
 
     /**