mirror of
https://github.com/vrana/adminer.git
synced 2026-06-16 14:20:53 +02:00
Doc-comments: Fix type errors
This commit is contained in:
@@ -48,7 +48,7 @@ if (isset($_GET["pgsql"])) {
|
||||
);
|
||||
}
|
||||
|
||||
function value(string $val, array $field): string {
|
||||
function value(?string $val, array $field): ?string {
|
||||
return ($field["type"] == "bytea" && $val !== null ? pg_unescape_bytea($val) : $val);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user