update patch 1
This commit is contained in:
+3
-5
@@ -19,11 +19,9 @@ use Symfony\Component\Mailer\Transport\TransportInterface;
|
||||
*/
|
||||
class MessageHandler
|
||||
{
|
||||
private TransportInterface $transport;
|
||||
|
||||
public function __construct(TransportInterface $transport)
|
||||
{
|
||||
$this->transport = $transport;
|
||||
public function __construct(
|
||||
private TransportInterface $transport,
|
||||
) {
|
||||
}
|
||||
|
||||
public function __invoke(SendEmailMessage $message): ?SentMessage
|
||||
|
||||
Reference in New Issue
Block a user