1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Plugins: Compatibility with PHP 5

This commit is contained in:
Jakub Vrana
2025-04-08 13:14:32 +02:00
parent e601a3d8ce
commit 6da8bb670a
7 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ class AdminerTableIndexesStructure extends Adminer\Plugin {
/** Print table structure in tabular format
* @param Index[] $indexes data about all indexes on a table
*/
function tableIndexesPrint(array $indexes): bool {
function tableIndexesPrint($indexes): bool {
echo "<table>\n";
echo "<thead><tr><th>" . Adminer\lang('Name') . "<th>" . Adminer\lang('Type') . "<th>" . Adminer\lang('Columns') . "</thead>\n";
foreach ($indexes as $name => $index) {