Skip to content

Commit

Permalink
#94: changed ContextVeil creation to fix Infection
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGoryunov committed Sep 28, 2021
1 parent 61831b5 commit 19a3548
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/SavingIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ public function __construct(
fn (AddingIterator $stored): AddingIterator => $stored->from(
$this->origin
),
[
"current" => true,
"key" => true
]
array_flip(["current", "key"])
);
}

/**
* {@inheritDoc}
* @return TValue|false
Expand Down

0 comments on commit 19a3548

Please sign in to comment.