ソースを参照

Add minor comment for clarity.

Daniele Alessandri 9 年 前
コミット
7e4800010a
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/Connection/Aggregate/SentinelReplication.php

+ 1 - 0
src/Connection/Aggregate/SentinelReplication.php

@@ -289,6 +289,7 @@ class SentinelReplication implements ReplicationInterface
                 );
 
                 $this->sentinels = array();
+                // NOTE: sentinel server does not return itself, so we add it back.
                 $this->sentinels[] = $sentinel->getParameters()->toArray();
 
                 foreach ($payload as $sentinel) {