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 3ff6ab1 + 04408ab commit 0c2901cCopy full SHA for 0c2901c
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