Explorar el Código

Make some fields of Predis\Client private.

Daniele Alessandri hace 9 años
padre
commit
185e31e080
Se han modificado 1 ficheros con 13 adiciones y 2 borrados
  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;
 
     /**