ldc-enum/tests/Enums/DuplicatedLabels.php
Jérémy Munsch 8b25893b99
phpcs fix
2023-05-30 09:40:09 +02:00

27 lines
476 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
{
/**
* All labels
*
* @return array
*/
protected static function labels(): array
{
return [
'one' => 'one',
'two' => 'two',
'three' => 'two'
];
}
}