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

Commit 7a8d048

Browse files
fcabralpachecoOcramius
authored andcommitted
Remove unused code.
1 parent 183cf62 commit 7a8d048

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/Response/SapiStreamEmitterTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -455,14 +455,6 @@ public function testEmitMemoryUsage(
455455
$peakMemoryUsage = max($peakMemoryUsage, memory_get_usage());
456456
};
457457

458-
$closureContents = function ($position, $length = null) use (& $sizeBytes) {
459-
if (! $length) {
460-
$length = $sizeBytes - $position;
461-
}
462-
463-
return str_repeat('0', $length);
464-
};
465-
466458
$stream = $this->setUpStreamProphecy(
467459
function ($position, $length = null) use (& $sizeBytes) {
468460
if (! $length) {

0 commit comments

Comments
 (0)