Explorar o código

add docblocks to MasterSlaveReplication

Ante Lucic %!s(int64=9) %!d(string=hai) anos
pai
achega
939c0821dd
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  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;
 
     /**