Skip to content

Commit 2c4b9d4

Browse files
committed
[Mailer] Fix tests
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent 9500fb9 commit 2c4b9d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Transport/AbstractTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract class AbstractTransport implements TransportInterface
2828
private ?EventDispatcherInterface $dispatcher;
2929
private LoggerInterface $logger;
3030
private float $rate = 0;
31-
private int $lastSent = 0;
31+
private float $lastSent = 0;
3232

3333
public function __construct(EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
3434
{

Transport/Smtp/SmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SmtpTransport extends AbstractTransport
3636
private int $restartThresholdSleep = 0;
3737
private int $restartCounter = 0;
3838
private int $pingThreshold = 100;
39-
private int $lastMessageTime = 0;
39+
private float $lastMessageTime = 0;
4040
private AbstractStream $stream;
4141
private string $domain = '[127.0.0.1]';
4242

0 commit comments

Comments
 (0)