File tree 2 files changed +3
-3
lines changed
src/Symfony/Component/Mailer 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
use Symfony \Component \Mailer \Exception \TransportException ;
18
18
use Symfony \Component \Mailer \SentMessage ;
19
19
use Symfony \Component \Mailer \Transport \SendmailTransport ;
20
+ use Symfony \Component \Mailer \Transport \Smtp \SmtpTransport ;
20
21
use Symfony \Component \Mailer \Transport \Smtp \Stream \ProcessStream ;
21
- use Symfony \Component \Mailer \Transport \TransportInterface ;
22
22
use Symfony \Component \Mime \Address ;
23
23
use Symfony \Component \Mime \Email ;
24
24
use Symfony \Component \Mime \RawMessage ;
@@ -130,7 +130,7 @@ public function testDoesNotThrowWhenInteractive()
130
130
$ transportProperty ->setAccessible (true );
131
131
132
132
// Replace the transport with an anonymous consumer that trigger the stream methods
133
- $ transportProperty ->setValue ($ sendmailTransport , new class ($ transportProperty ->getValue ($ sendmailTransport )->getStream ()) implements TransportInterface {
133
+ $ transportProperty ->setValue ($ sendmailTransport , new class ($ transportProperty ->getValue ($ sendmailTransport )->getStream ()) extends SmtpTransport {
134
134
private $ stream ;
135
135
136
136
public function __construct (ProcessStream $ stream )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function setCommand(string $command): void
31
31
$ this ->command = $ command ;
32
32
}
33
33
34
- public function setInteractive (bool $ interactive )
34
+ public function setInteractive (bool $ interactive ): void
35
35
{
36
36
$ this ->interactive = $ interactive ;
37
37
}
You can’t perform that action at this time.
0 commit comments