ldc-enum/tests/Enums/DuplicatedLabels.php

22 lines
414 B
PHP

<?php
namespace Kwaadpepper\Enum\Tests\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @method static self one()
* @method static self two()
* @method static self three()
*/
final class DuplicatedLabels extends BaseEnumRoutable
{
protected static function labels(): array
{
return [
'one' => 'one',
'two' => 'two',
'three' => 'two'
];
}
}