foreach ( $updates as $funcList ) {
list( $func, $args, $origParams ) = $funcList;
+ // @phan-suppress-next-line PhanUndeclaredInvokeInCallable
$func( ...$args );
flush();
$this->updatesSkipped[] = $origParams;
if ( $val && $this->canUseNewUpdatelog() ) {
$values['ul_value'] = $val;
}
- $this->db->insert( 'updatelog', $values, __METHOD__, 'IGNORE' );
+ $this->db->insert( 'updatelog', $values, __METHOD__, [ 'IGNORE' ] );
$this->db->setFlag( DBO_DDLMODE );
}
*/
protected function rebuildLocalisationCache() {
/**
- * @var $cl RebuildLocalisationCache
+ * @var RebuildLocalisationCache $cl
*/
$cl = $this->maintenance->runChild(
RebuildLocalisationCache::class, 'rebuildLocalisationCache.php'