Explorar el Código

Add minor comment for clarity.

Daniele Alessandri hace 9 años
padre
commit
7e4800010a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {