Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-30 07:42:21 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-30 07:42:21 +0300
commitb9c0463d960494cbfe0f04b3159c5ff4a467c446 (patch)
tree9fe17f2cc230558fbff7a76b9386600ac37d0e8e /tbl_create.php
parent93bf3d0d1739ec3b15d0e0317ee18b222c58c462 (diff)
Use short array syntax instead of long array syntax
Replaces array() with []. Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'tbl_create.php')
-rw-r--r--tbl_create.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_create.php b/tbl_create.php
index 3217a75b3a..c129b5472a 100644
--- a/tbl_create.php
+++ b/tbl_create.php
@@ -20,7 +20,7 @@ use PhpMyAdmin\Util;
require_once 'libraries/common.inc.php';
// Check parameters
-Util::checkParameters(array('db'));
+Util::checkParameters(['db']);
$transformations = new Transformations();
@@ -49,7 +49,7 @@ if ($GLOBALS['dbi']->getColumns($db, $table)) {
sprintf(__('Table %s already exists!'), htmlspecialchars($table)),
'',
false,
- 'db_structure.php' . Url::getCommon(array('db' => $db))
+ 'db_structure.php' . Url::getCommon(['db' => $db])
);
}