From 185e31e080df66a2ce58e67ef2d57358c18eb525 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Tue, 7 Jun 2016 15:52:27 +0200 Subject: [PATCH] Make some fields of Predis\Client private. --- src/Client.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 3b53c8d6..5ce98f44 100644 --- a/src/Client.php +++ b/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; /**