From a54e97f63d31e800740991921fa6bb96593b4573 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Thu, 16 Nov 2023 17:06:01 +0100 Subject: [PATCH] Fix #18495 - Coding standard fixes Ref: fc98aff6d3b9baee77ade65a15e7505c2c741425 Signed-off-by: William Desportes --- libraries/classes/Plugins/Export/ExportSql.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libraries/classes/Plugins/Export/ExportSql.php b/libraries/classes/Plugins/Export/ExportSql.php index 3a9cc3f60e..5202cd7260 100644 --- a/libraries/classes/Plugins/Export/ExportSql.php +++ b/libraries/classes/Plugins/Export/ExportSql.php @@ -2615,16 +2615,17 @@ class ExportSql extends ExportPlugin /** * replaces db/table/column names with their aliases * - * @param string $sqlQuery SQL query in which aliases are to be substituted - * @param array $aliases Alias information for db/table/column - * @param string $db the database name - * @param string $table the tablename - * @param string $flag the flag denoting whether any replacement was done + * @param string|null $delimiter The delimiter for the parser (";" or "$$") + * @param string $sqlQuery SQL query in which aliases are to be substituted + * @param array $aliases Alias information for db/table/column + * @param string $db the database name + * @param string $table the tablename + * @param string $flag the flag denoting whether any replacement was done * * @return string query replaced with aliases */ public function replaceWithAliases( - string|null $delimiter, + ?string $delimiter, $sqlQuery, array $aliases, $db,