Kaynağa Gözat

add docblocks to MasterSlaveReplication

Ante Lucic 9 yıl önce
ebeveyn
işleme
939c0821dd

+ 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;
 
     /**