Поправил сигнатуру
This commit is contained in:
parent
adf99b2f15
commit
fd765b93f7
@ -12,6 +12,6 @@ class Header extends ServiceMeta
|
||||
public ?string $default = null,
|
||||
public array $tags = ['request_headers']
|
||||
) {
|
||||
parent::__construct($default, $tags);
|
||||
parent::__construct($tags);
|
||||
}
|
||||
}
|
||||
|
@ -7,5 +7,10 @@ use Rinsvent\TransformerBundle\Service\Transformer\Request\ServiceMeta;
|
||||
#[\Attribute]
|
||||
class UserAgent extends ServiceMeta
|
||||
{
|
||||
|
||||
public function __construct(
|
||||
public ?string $default = null,
|
||||
public array $tags = ['default']
|
||||
) {
|
||||
parent::__construct($tags);
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,6 @@ class Server extends ServiceMeta
|
||||
public ?string $default = null,
|
||||
public array $tags = ['request_server']
|
||||
) {
|
||||
parent::__construct($default, $tags);
|
||||
parent::__construct($tags);
|
||||
}
|
||||
}
|
||||
|
@ -7,11 +7,4 @@ use Rinsvent\Transformer\Transformer\Meta;
|
||||
abstract class ServiceMeta extends Meta
|
||||
{
|
||||
public const TYPE = 'service';
|
||||
|
||||
public function __construct(
|
||||
public ?string $default = null,
|
||||
public array $tags = ['default']
|
||||
) {
|
||||
parent::__construct($tags);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user