/**
* @param string $file Binlog file name
- * @param integer $pos Binlog position
+ * @param int $pos Binlog position
* @param string $gtid Comma separated GTID set [optional]
*/
function __construct( $file, $pos, $gtid = '' ) {
* @note: this returns false for multi-source replication GTID sets
* @see https://mariadb.com/kb/en/mariadb/gtid
* @see https://dev.mysql.com/doc/refman/5.6/en/replication-gtids-concepts.html
- * @return array Map of (domain => integer position) or false
+ * @return array Map of (domain => integer position); possibly empty
*/
protected function getGtidCoordinates() {
$gtidInfos = [];