Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a4e8fa

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: always pass microseconds to usleep as integers Bump Symfony version to 5.4.34 Update VERSION for 5.4.33 Update CONTRIBUTORS for 5.4.33 Update CHANGELOG for 5.4.33
2 parents 0b5c291 + 8fa2217 commit 0a4e8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pipes/WindowsPipes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function readAndWrite(bool $blocking, bool $close = false): array
140140
if ($w) {
141141
@stream_select($r, $w, $e, 0, Process::TIMEOUT_PRECISION * 1E6);
142142
} elseif ($this->fileHandles) {
143-
usleep(Process::TIMEOUT_PRECISION * 1E6);
143+
usleep((int) (Process::TIMEOUT_PRECISION * 1E6));
144144
}
145145
}
146146
foreach ($this->fileHandles as $type => $fileHandle) {

0 commit comments

Comments
 (0)