We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15c3bc9 + 0176c6e commit f364ca7Copy full SHA for f364ca7
Transport/Smtp/Stream/AbstractStream.php
@@ -75,7 +75,7 @@ public function readLine(): string
75
}
76
77
$line = fgets($this->out);
78
- if (0 === \strlen($line)) {
+ if ('' === $line) {
79
$metas = stream_get_meta_data($this->out);
80
if ($metas['timed_out']) {
81
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
0 commit comments