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 /libraries/classes/IndexColumn.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 'libraries/classes/IndexColumn.php')
-rw-r--r--libraries/classes/IndexColumn.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/classes/IndexColumn.php b/libraries/classes/IndexColumn.php
index 2e0dc2d4c1..002ade4755 100644
--- a/libraries/classes/IndexColumn.php
+++ b/libraries/classes/IndexColumn.php
@@ -64,7 +64,7 @@ class IndexColumn
*
* @param array $params an array containing the parameters of the index column
*/
- public function __construct(array $params = array())
+ public function __construct(array $params = [])
{
$this->set($params);
}
@@ -177,12 +177,12 @@ class IndexColumn
*/
public function getCompareData()
{
- return array(
+ return [
'Column_name' => $this->_name,
'Seq_in_index' => $this->_seq_in_index,
'Collation' => $this->_collation,
'Sub_part' => $this->_sub_part,
'Null' => $this->_null,
- );
+ ];
}
}