Skip to content

Commit

Permalink
Used long variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 27, 2018
1 parent 284e293 commit fac6414
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Pipeline/LazinessTest.php
Expand Up @@ -110,8 +110,8 @@ public function testLazyIteratorYieldFrom()
{
$spy = \Mockery::spy(\ArrayIterator::class);

$c = new Standard();
$c->map(function () use ($spy) {
$pipeline = new Standard();
$pipeline->map(function () use ($spy) {
yield from $spy;
})->map(function ($value) {
yield $value;
Expand All @@ -126,8 +126,8 @@ public function testLazyIteratorReturn()
{
$spy = \Mockery::spy(\ArrayIterator::class);

$c = new Standard();
$c->map(function () use ($spy) {
$pipeline = new Standard();
$pipeline->map(function () use ($spy) {
return $spy;
})->map(function ($value) {
yield $value;
Expand Down

0 comments on commit fac6414

Please sign in to comment.