فهرست منبع

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

Daniele Alessandri 9 سال پیش
والد
کامیت
7be83a1fd6
1فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  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
 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;
 
 
     /**
     /**