Since union type are now possible, using union with null makes more clear that it is a union type. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
29 lines
533 B
PHP
29 lines
533 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Providers\ServerVariables;
|
|
|
|
class VoidProvider implements ServerVariablesProviderInterface
|
|
{
|
|
public function getVariableType(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function getStaticVariables(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function getDocLinkByNameMariaDb(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function getDocLinkByNameMysql(string $name): string|null
|
|
{
|
|
return null;
|
|
}
|
|
}
|