mirror of
https://github.com/danog/byte-stream.git
synced 2024-11-30 04:19:23 +01:00
phpcs fix
This commit is contained in:
parent
94caa13d49
commit
bc191a8380
@ -74,7 +74,7 @@ function getInput(): ResourceInputStream
|
||||
$stream = Loop::getState($key);
|
||||
|
||||
if (!$stream) {
|
||||
$stream = new ResourceInputStream(fopen('php://input', 'r'));
|
||||
$stream = new ResourceInputStream(\fopen('php://input', 'r'));
|
||||
Loop::setState($key, $stream);
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ function getOutput(): ResourceOutputStream
|
||||
$stream = Loop::getState($key);
|
||||
|
||||
if (!$stream) {
|
||||
$stream = new ResourceOutputStream(fopen('php://output', 'w'));
|
||||
$stream = new ResourceOutputStream(\fopen('php://output', 'w'));
|
||||
Loop::setState($key, $stream);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user