Skip to content

Commit f22ad37

Browse files
committed
Convert to int
1 parent 2568fbc commit f22ad37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ReachClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ protected function createAndLimitRequests(array $requests): array
322322

323323
if ($remainingTime > 0) {
324324
$this->log("createRequests::Sleeping for " . $remainingTime);
325-
usleep($remainingTime);
325+
usleep((int)$remainingTime);
326326
}
327327

328328
$this->startTime = microtime(true);

0 commit comments

Comments
 (0)