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>
20 lines
332 B
PHP
20 lines
332 B
PHP
<?php
|
|
/**
|
|
* User preferences form
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Config\Forms\Setup;
|
|
|
|
use PhpMyAdmin\Config\Forms\BaseForm;
|
|
|
|
class ConfigForm extends BaseForm
|
|
{
|
|
/** @return mixed[] */
|
|
public static function getForms(): array
|
|
{
|
|
return ['Config' => ['DefaultLang', 'ServerDefault']];
|
|
}
|
|
}
|