1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-29 20:09:07 +01:00

Fix code style

This commit is contained in:
Niklas Keller 2018-12-25 13:18:26 +01:00
parent 3a4e493d39
commit 56f719633f

View File

@ -259,11 +259,11 @@ class ResourceStreamTest extends TestCase
$middle = \tempnam(\sys_get_temp_dir(), 'byte-stream-middle-');
\Amp\ByteStream\pipe(
new ResourceInputStream(fopen(__FILE__, 'rb')),
new ResourceOutputStream(fopen($middle, 'wb'))
new ResourceInputStream(\fopen(__FILE__, 'rb')),
new ResourceOutputStream(\fopen($middle, 'wb'))
);
$middleReadStream = new ResourceInputStream(fopen($middle, 'rb'));
$middleReadStream = new ResourceInputStream(\fopen($middle, 'rb'));
$buffer = '';
yield new Delayed(0);