Skip to content

Commit 5f514a8

Browse files
committed
Fix CS
1 parent 2cf5261 commit 5f514a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataCollector/MessageDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(MessageLoggerListener $logger)
3434
*
3535
* @param \Throwable|null $exception
3636
*/
37-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
37+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
3838
{
3939
$this->data['events'] = $this->events;
4040
}

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)