phpmyadmin/libraries/classes/Engines/Memory.php
Maurício Meneghini Fauth 6a2c12bdc8
Add missing traversable type hints
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>
2023-04-02 01:32:12 -03:00

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]];
}
}