[Process] Fix incorrect parameter type
This commit is contained in:
parent
c17ed9ee5d
commit
d1579a2922
@ -71,7 +71,7 @@ class WindowsPipes extends AbstractPipes
|
|||||||
}
|
}
|
||||||
$this->lockHandles[$pipe] = $h;
|
$this->lockHandles[$pipe] = $h;
|
||||||
|
|
||||||
if (!fclose(fopen($file, 'w')) || !$h = fopen($file, 'r')) {
|
if (!($h = fopen($file, 'w')) || !fclose($h) || !$h = fopen($file, 'r')) {
|
||||||
flock($this->lockHandles[$pipe], \LOCK_UN);
|
flock($this->lockHandles[$pipe], \LOCK_UN);
|
||||||
fclose($this->lockHandles[$pipe]);
|
fclose($this->lockHandles[$pipe]);
|
||||||
unset($this->lockHandles[$pipe]);
|
unset($this->lockHandles[$pipe]);
|
||||||
|
Reference in New Issue
Block a user