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

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Jan 18, 2019
1 parent 27ff0d7 commit 9c3e116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Client.php
Expand Up @@ -224,12 +224,12 @@ private function doGet($connection)
$modified = stream_select($reads, $write, $except, 0, $this->timeout);

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

// Error
if ($modified === false) {
if (false === $modified) {
return false;
}

Expand Down

0 comments on commit 9c3e116

Please sign in to comment.