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>
30 lines
560 B
PHP
30 lines
560 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Providers\ServerVariables;
|
|
|
|
class VoidProvider implements ServerVariablesProviderInterface
|
|
{
|
|
public function getVariableType(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/** @return mixed[] */
|
|
public function getStaticVariables(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function getDocLinkByNameMariaDb(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function getDocLinkByNameMysql(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
}
|