Эх сурвалжийг харах

add docblocks to MasterSlaveReplication

Ante Lucic 9 жил өмнө
parent
commit
939c0821dd

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

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