Поправил сигнатуру

This commit is contained in:
Rinsvent 2022-04-02 17:32:06 +07:00
parent df23b50198
commit 36dda7cdb0

View File

@ -7,4 +7,11 @@ use Rinsvent\Transformer\Transformer\Meta;
abstract class ServiceMeta extends Meta
{
public const TYPE = 'service';
public function __construct(
public string $default,
public array $tags = ['default']
) {
parent::__construct($tags);
}
}