@@ -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
}
@@ -689,7 +690,7 @@ attribute::
689
690
{
690
691
public function __construct(
691
692
#[AutowireServiceClosure('third_party.remote_message_formatter')]
692
- private \Closure $messageFormatterResolver
693
+ private \Closure $messageFormatterResolver,
693
694
) {
694
695
}
695
696
@@ -719,7 +720,7 @@ create extra instances of a non-shared service::
719
720
{
720
721
public function __construct(
721
722
#[AutowireCallable(service: 'third_party.remote_message_formatter', method: 'format')]
722
- private \Closure $formatCallable
723
+ private \Closure $formatCallable,
723
724
) {
724
725
}
725
726
0 commit comments