getTableDef in ExportHtmlword

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2023-05-12 22:14:26 +01:00
parent 15a83c32af
commit 3a5f6c924d
2 changed files with 2 additions and 7 deletions

View File

@ -317,7 +317,6 @@ class ExportHtmlword extends ExportPlugin
* export types which use this parameter
* @param bool $doMime whether to include mime comments
* at the end
* @param bool $view whether we're handling a view
* @param mixed[] $aliases Aliases of db/table/columns
*
* @return string resulting schema
@ -328,7 +327,6 @@ class ExportHtmlword extends ExportPlugin
bool $doRelation,
bool $doComments,
bool $doMime,
bool $view = false,
array $aliases = [],
): string {
$relationParameters = $this->relation->getRelationParameters();
@ -532,7 +530,7 @@ class ExportHtmlword extends ExportPlugin
. __('Table structure for table') . ' '
. htmlspecialchars($tableAlias)
. '</h2>';
$dump .= $this->getTableDef($db, $table, $doRelation, $doComments, $doMime, false, $aliases);
$dump .= $this->getTableDef($db, $table, $doRelation, $doComments, $doMime, $aliases);
break;
case 'triggers':
$triggers = Triggers::getDetails($GLOBALS['dbi'], $db, $table);
@ -548,7 +546,7 @@ class ExportHtmlword extends ExportPlugin
$dump .= '<h2>'
. __('Structure for view') . ' ' . htmlspecialchars($tableAlias)
. '</h2>';
$dump .= $this->getTableDef($db, $table, $doRelation, $doComments, $doMime, true, $aliases);
$dump .= $this->getTableDef($db, $table, $doRelation, $doComments, $doMime, $aliases);
break;
case 'stand_in':
$dump .= '<h2>'

View File

@ -9210,9 +9210,6 @@
<code>$comments</code>
<code>$mimeMap</code>
</PossiblyUndefinedVariable>
<PossiblyUnusedParam>
<code>$view</code>
</PossiblyUnusedParam>
<PossiblyUnusedReturnValue>
<code>bool</code>
</PossiblyUnusedReturnValue>