Browse Source

Merge remote-tracking branch 'github/pr/332'

Daniele Alessandri 9 years ago
parent
commit
7be83a1fd6
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/Connection/Aggregate/MasterSlaveReplication.php

+ 15 - 0
src/Connection/Aggregate/MasterSlaveReplication.php

@@ -23,9 +23,24 @@ use Predis\Replication\ReplicationStrategy;
  */
 class MasterSlaveReplication implements ReplicationInterface
 {
+    /**
+     * @var ReplicationStrategy
+     */
     protected $strategy;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $master;
+
+    /**
+     * @var NodeConnectionInterface[]
+     */
     protected $slaves;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $current;
 
     /**