phpmyadmin/libraries/classes/Engines/Memory.php
Maurício Meneghini Fauth b9c0463d96 Use short array syntax instead of long array syntax
Replaces array() with [].

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00

36 lines
654 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* The MEMORY (HEAP) storage engine
*
* @package PhpMyAdmin-Engines
*/
declare(strict_types=1);
namespace PhpMyAdmin\Engines;
use PhpMyAdmin\StorageEngine;
/**
* The MEMORY (HEAP) storage engine
*
* @package PhpMyAdmin-Engines
*/
class Memory extends StorageEngine
{
/**
* Returns array with variable names dedicated to MEMORY storage engine
*
* @return array variable names
*/
public function getVariables()
{
return [
'max_heap_table_size' => [
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
],
];
}
}