mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-09 04:32:33 +00:00
21 lines
238 B
PHP
21 lines
238 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
if (interface_exists('UnitEnum')) {
|
|
return;
|
|
}
|
|
|
|
/**
|
|
* @since 8.1
|
|
*/
|
|
interface UnitEnum
|
|
{
|
|
public string $name;
|
|
|
|
/**
|
|
* @return static[]
|
|
*/
|
|
public static function cases(): array;
|
|
}
|