rdbms: Pass required parameter

Found by PHPStan.

Change-Id: I8fbb64f7b5058b36381bccd5bc6a9d095b9ace15
This commit is contained in:
Jakub Vrana 2018-12-01 17:40:47 +01:00 committed by Legoktm
parent 783aa87175
commit 9e8a747233

View file

@ -3742,7 +3742,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
}
}
if ( $pos < 0 ) {
throw new DBUnexpectedError( "Atomic section not found (for $fname)" );
throw new DBUnexpectedError( $this, "Atomic section not found (for $fname)" );
}
// Remove all descendant sections and re-index the array
$excisedIds = [];