Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit 9c3e116

Browse files
committed
Fix cs
1 parent 27ff0d7 commit 9c3e116

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Client.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ private function doGet($connection)
224224
$modified = stream_select($reads, $write, $except, 0, $this->timeout);
225225

226226
// Timeout
227-
if ($modified === 0) {
228-
throw new TimeoutException('Timeout reached when trying to read stream (' . $this->timeout . 'ms)');
227+
if (0 === $modified) {
228+
throw new TimeoutException('Timeout reached when trying to read stream ('.$this->timeout.'ms)');
229229
}
230230

231231
// Error
232-
if ($modified === false) {
232+
if (false === $modified) {
233233
return false;
234234
}
235235

0 commit comments

Comments
 (0)