phpmyadmin/libraries/classes/SystemColumn.php
Maurício Meneghini Fauth 4ff3724c3f
Use union with null instead of short nullable type
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>
2023-02-20 21:48:19 -03:00

16 lines
266 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin;
class SystemColumn
{
public function __construct(
public readonly string $tableName,
public readonly string $referringColumn,
public readonly string|null $realColumn
) {
}
}