Forráskód Böngészése

Add minor comment for clarity.

Daniele Alessandri 9 éve
szülő
commit
7e4800010a
1 módosított fájl, 1 hozzáadás és 0 törlés
  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) {