[Mailer] fixed timeout type hint
This commit is contained in:
parent
e55978ada8
commit
0e7ed9e45c
@ -34,14 +34,14 @@ final class SocketStream extends AbstractStream
|
|||||||
private $sourceIp;
|
private $sourceIp;
|
||||||
private $streamContextOptions = [];
|
private $streamContextOptions = [];
|
||||||
|
|
||||||
public function setTimeout(int $timeout): self
|
public function setTimeout(float $timeout): self
|
||||||
{
|
{
|
||||||
$this->timeout = $timeout;
|
$this->timeout = $timeout;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTimeout(): int
|
public function getTimeout(): float
|
||||||
{
|
{
|
||||||
return $this->timeout;
|
return $this->timeout;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user