Replace array type hint with mixed[] type hint, since it means the same. This way it's possible to require traversable type hint for new code. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
27 lines
503 B
PHP
27 lines
503 B
PHP
<?php
|
|
/**
|
|
* The MEMORY (HEAP) storage engine
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Engines;
|
|
|
|
use PhpMyAdmin\StorageEngine;
|
|
|
|
/**
|
|
* The MEMORY (HEAP) storage engine
|
|
*/
|
|
class Memory extends StorageEngine
|
|
{
|
|
/**
|
|
* Returns array with variable names dedicated to MEMORY storage engine
|
|
*
|
|
* @return mixed[] variable names
|
|
*/
|
|
public function getVariables(): array
|
|
{
|
|
return ['max_heap_table_size' => ['type' => StorageEngine::DETAILS_TYPE_SIZE]];
|
|
}
|
|
}
|