mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Remove useless array casting as CallMap for stream_select is reset.
This commit is contained in:
parent
0dc435409c
commit
cf1f375f24
@ -365,7 +365,7 @@ class Pool
|
||||
}
|
||||
|
||||
// For each stream that was ready, read the content.
|
||||
foreach ((array)$needs_read as $file) {
|
||||
foreach ($needs_read as $file) {
|
||||
$buffer = fread($file, 1024);
|
||||
if ($buffer !== false) {
|
||||
$content[(int)$file] .= $buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user