Browse Source

Make some fields of Predis\Client private.

Daniele Alessandri 9 năm trước cách đây
mục cha
commit
185e31e080
1 tập tin đã thay đổi với 13 bổ sung2 xóa
  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;
 
     /**