Skip to content

Commit 0c2901c

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Fix CS Fix CS
2 parents 3ff6ab1 + 04408ab commit 0c2901c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Smtp/Stream/AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function readLine(): string
7575
}
7676

7777
$line = fgets($this->out);
78-
if (0 === \strlen($line)) {
78+
if ('' === $line) {
7979
$metas = stream_get_meta_data($this->out);
8080
if ($metas['timed_out']) {
8181
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));

0 commit comments

Comments
 (0)