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>
17 lines
387 B
PHP
17 lines
387 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Providers\ServerVariables;
|
|
|
|
interface ServerVariablesProviderInterface
|
|
{
|
|
public function getVariableType(string $name): string|null;
|
|
|
|
public function getStaticVariables(): array;
|
|
|
|
public function getDocLinkByNameMariaDb(string $name): string|null;
|
|
|
|
public function getDocLinkByNameMysql(string $name): string|null;
|
|
}
|