1
0
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:
Daniil Gentili 2019-05-21 15:45:27 +02:00
parent 94caa13d49
commit bc191a8380

View File

@ -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);
}