Enum стал абстрактным внутри Enums, наследникам созданы getFfdTags()

This commit is contained in:
2021-11-28 00:55:28 +08:00
parent c9670a1321
commit e2141551d5
11 changed files with 95 additions and 63 deletions

View File

@@ -11,14 +11,10 @@ declare(strict_types = 1);
namespace AtolOnline\Enums;
use AtolOnline\Enum;
/**
* Константы, определяющие типы агента
*
* Тег ФФД - 1057
*
* @see https://online.atol.ru/files/API_atol_online_v4.pdf Документация, стр 18 (agent_info)
* @see https://online.atol.ru/files/API_atol_online_v4.pdf Документация, стр 18
*/
final class AgentTypes extends Enum
{
@@ -58,7 +54,7 @@ final class AgentTypes extends Enum
const ANOTHER = 'another';
/**
* @return int[] Возвращает массив тегов ФФД
* @inheritDoc
*/
public static function getFfdTags(): array
{