8000 [Mailer] fixed timeout type hint · symfony/symfony@0e7ed9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e7ed9e

Browse files
committed
[Mailer] fixed timeout type hint
1 parent e55978a commit 0e7ed9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ final class SocketStream extends AbstractStream
3434
private $sourceIp;
3535
private $streamContextOptions = [];
3636

37-
public function setTimeout(int $timeout): self
37+
public function setTimeout(float $timeout): self
3838
{
3939
$this->timeout = $timeout;
4040

4141
return $this;
4242
}
4343

44-
public function getTimeout(): int
44+
public function getTimeout(): float
4545
{
4646
return $this->timeout;
4747
}

0 commit comments

Comments
 (0)
0