1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +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-'); $middle = \tempnam(\sys_get_temp_dir(), 'byte-stream-middle-');
\Amp\ByteStream\pipe( \Amp\ByteStream\pipe(
new ResourceInputStream(fopen(__FILE__, 'rb')), new ResourceInputStream(\fopen(__FILE__, 'rb')),
new ResourceOutputStream(fopen($middle, 'wb')) new ResourceOutputStream(\fopen($middle, 'wb'))
); );
$middleReadStream = new ResourceInputStream(fopen($middle, 'rb')); $middleReadStream = new ResourceInputStream(\fopen($middle, 'rb'));
$buffer = ''; $buffer = '';
yield new Delayed(0); yield new Delayed(0);