Closed
Description
Symfony version(s) affected
6.4.2
Description
Wrong parameter type for stream_set_timeout() here.
PHP docs
stream_set_timeout(resource $stream, int $seconds, int $microseconds = 0): bool
How to reproduce
Run $mailer->getTransporter()->setTimeout(0.1);
with smtp configuration.
Possible Solution
stream_set_timeout($this->stream, (int) $timeout, (int) ((float) $timeout - (int) $timeout) * 1000000);
Additional Context
No response