소스 검색

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) {