From 4ee2665800c8948bf352b92ff502861a34ac5c6a Mon Sep 17 00:00:00 2001 From: wkania Date: Sun, 27 Apr 2025 01:47:35 +0200 Subject: [PATCH] Redundant assignment to promoted property --- src/Symfony/Component/Mailer/Command/MailerTestCommand.php | 2 -- src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php | 1 - 2 files changed, 3 deletions(-) diff --git a/src/Symfony/Component/Mailer/Command/MailerTestCommand.php b/src/Symfony/Component/Mailer/Command/MailerTestCommand.php index bfc2779e3d66a..6cde762f5ed8c 100644 --- a/src/Symfony/Component/Mailer/Command/MailerTestCommand.php +++ b/src/Symfony/Component/Mailer/Command/MailerTestCommand.php @@ -28,8 +28,6 @@ final class MailerTestCommand extends Command { public function __construct(private TransportInterface $transport) { - $this->transport = $transport; - parent::__construct(); } diff --git a/src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php b/src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php index 369a155719620..b401f63a2fc9d 100644 --- a/src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php +++ b/src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php @@ -34,7 +34,6 @@ public function __construct( ?HttpClientInterface $client = null, ?EventDispatcherInterface $dispatcher = null ) { - $this->apiKey = $apiKey; parent::__construct($client, $dispatcher); }