Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit fab933e

Browse files
committed
Changed back sizeof() check to just check for false again
1 parent 0ef397e commit fab933e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function wait($quantity = 0)
370370
while (!feof($this->streamSocket)) {
371371
$line = $this->receive();
372372

373-
if (sizeof($line) === 0) {
373+
if ($line === false) {
374374
return null;
375375
}
376376

0 commit comments

Comments
 (0)