Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 610a51d

Browse files
fcabralpachecoOcramius
authored andcommitted
Minor type fixes
1 parent c2c5982 commit 610a51d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/Response/SapiStreamEmitterTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function emitStreamResponseProvider()
179179
* @param boolean $seekable Indicates if stream is seekable
180180
* @param boolean $readable Indicates if stream is readable
181181
* @param string $contents Contents stored in stream
182-
* @param boolean $maxBufferLength Maximum buffer length used in the emitter call.
182+
* @param integer $maxBufferLength Maximum buffer length used in the emitter call.
183183
* @dataProvider emitStreamResponseProvider
184184
*/
185185
public function testEmitStreamResponse($seekable, $readable, $contents, $maxBufferLength)
@@ -314,7 +314,7 @@ public function emitRangeStreamResponseProvider()
314314
* @param boolean $readable Indicates if stream is readable
315315
* @param array $range Emitted range of data [$unit, $first, $last, $length]
316316
* @param string $contents Contents stored in stream
317-
* @param boolean $maxBufferLength Maximum buffer length used in the emitter call.
317+
* @param integer $maxBufferLength Maximum buffer length used in the emitter call.
318318
* @dataProvider emitRangeStreamResponseProvider
319319
*/
320320
public function testEmitRangeStreamResponse($seekable, $readable, array $range, $contents, $maxBufferLength)
@@ -421,16 +421,16 @@ public function emitMemoryUsageProvider()
421421
* @param integer $sizeBlocks Number the blocks of stream data.
422422
* Block size is equal to $maxBufferLength.
423423
* @param integer $maxAllowedBlocks Maximum allowed memory usage in block units.
424-
* @param boolean $rangeBlocks Emitted range of data in block units [$firstBlock, $lastBlock].
425-
* @param boolean $maxBufferLength Maximum buffer length used in the emitter call.
424+
* @param array $rangeBlocks Emitted range of data in block units [$firstBlock, $lastBlock].
425+
* @param integer $maxBufferLength Maximum buffer length used in the emitter call.
426426
* @dataProvider emitMemoryUsageProvider
427427
*/
428428
public function testEmitMemoryUsage(
429429
$seekable,
430430
$readable,
431431
$sizeBlocks,
432432
$maxAllowedBlocks,
433-
$rangeBlocks,
433+
array $rangeBlocks,
434434
$maxBufferLength
435435
) {
436436

0 commit comments

Comments
 (0)