diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index b21ae673..9efbfe7a 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -97,7 +97,7 @@ class Adminer { * @param bool $dark dark CSS: false to disable, true to force, null to base on user preferences * @return bool true to link favicon.ico */ - function head(bool $dark = null): bool { + function head(?bool $dark = null): bool { // this is matched by compile.php echo "\n"; echo ($dark !== false ? "\n" : ""); @@ -304,7 +304,7 @@ class Adminer { * @param Field[] $fields * @param TableStatus $tableStatus */ - function tableStructurePrint(array $fields, array $tableStatus = null): void { + function tableStructurePrint(array $fields, ?array $tableStatus = null): void { echo "
" . lang('Column') . " | " . lang('Type') . (support("comment") ? " | " . lang('Comment') : "") . " |
---|