Explorar o código

Make some fields of Predis\Client private.

Daniele Alessandri %!s(int64=9) %!d(string=hai) anos
pai
achega
185e31e080
Modificáronse 1 ficheiros con 13 adicións e 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;
 
     /**