Skip to content

Commit 2bb075c

Browse files
committed
migrate back to LogTransport
1 parent 73d3c7f commit 2bb075c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Illuminate/Mail/MailServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Mail;
22

33
use Illuminate\Foundation\Application;
4-
use Illuminate\Mail\Transport\LogTransportV2;
4+
use Illuminate\Mail\Transport\LogTransport;
55
use Illuminate\Support\Arr;
66
use Illuminate\Support\ServiceProvider;
77
//use Symfony\Component\HttpClient\HttpClient;
@@ -219,7 +219,7 @@ protected function registerMailTransport(array $config): void
219219
*/
220220
protected function registerLogTransport(array $config): void
221221
{
222-
$this->app->bindShared('symfony.transport', fn($app) => new LogTransportV2($app->make('Psr\Log\LoggerInterface')));
222+
$this->app->bindShared('symfony.transport', fn($app) => new LogTransport($app->make('Psr\Log\LoggerInterface')));
223223
}
224224

225225
// /**

src/Illuminate/Mail/Transport/LogTransportV2.php renamed to src/Illuminate/Mail/Transport/LogTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Symfony\Component\Mailer\Transport\TransportInterface;
99
use Symfony\Component\Mime\RawMessage;
1010

11-
class LogTransportV2 implements TransportInterface
11+
class LogTransport implements TransportInterface
1212
{
1313
protected LoggerInterface $logger;
1414

0 commit comments

Comments
 (0)