Merge "rdbms: add and enforce DB_REPLICA/DB_MASTER roles in DBConnRef"
[lhc/web/wiklou.git] / includes / libs / rdbms / database / Database.php
index b4a61d5..c5ef758 100644 (file)
@@ -3584,6 +3584,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
                                list( $phpCallback ) = $callback;
                                $this->clearFlag( self::DBO_TRX ); // make each query its own transaction
                                try {
+                                       // @phan-suppress-next-line PhanParamTooManyCallable
                                        call_user_func( $phpCallback, $trigger, $this );
                                } catch ( Exception $ex ) {
                                        call_user_func( $this->errorLogger, $ex );