@@ -565,7 +565,7 @@ attribute like this::
565
565
{
566
566
public function __construct(
567
567
#[Target('app.uppercase_transformer')]
568
- private TransformerInterface $transformer
568
+ private TransformerInterface $transformer,
569
569
){
570
570
}
571
571
}
@@ -602,7 +602,8 @@ logic about those arguments::
602
602
class MessageGenerator
603
603
{
604
604
public function __construct(
605
- #[Autowire(service: 'monolog.logger.request')] LoggerInterface $logger
605
+ #[Autowire(service: 'monolog.logger.request')]
606
+ private LoggerInterface $logger,
606
607
) {
607
608
// ...
608
609
}
@@ -697,7 +698,7 @@ attribute::
697
698
{
698
699
public function __construct(
699
700
#[AutowireServiceClosure('third_party.remote_message_formatter')]
700
- private \Closure $messageFormatterResolver
701
+ private \Closure $messageFormatterResolver,
701
702
) {
702
703
}
703
704
@@ -732,7 +733,7 @@ create extra instances of a non-shared service::
732
733
{
733
734
public function __construct(
734
735
#[AutowireCallable(service: 'third_party.remote_message_formatter', method: 'format')]
735
- private \Closure $formatCallable
736
+ private \Closure $formatCallable,
736
737
) {
737
738
}
738
739
0 commit comments