Skip to content

Commit

Permalink
Update Column operation
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Aug 27, 2020
1 parent 5f4d134 commit b071823
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Operation/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
final class Column extends AbstractOperation implements Operation
{
/**
* Column constructor.
*
* @param int|string $column
* @psalm-param array-key $column
*/
Expand All @@ -44,8 +42,8 @@ public function __invoke(): Closure
*/
static function (Iterator $iterator, $column): Generator {
/**
* @var array-key $key
* @var iterable<TKey, T> $value
* @psalm-var array-key $key
* @psalm-var iterable<TKey, T> $value
*/
foreach ((new Run(new Transpose()))($iterator) as $key => $value) {
if ($key === $column) {
Expand Down

0 comments on commit b071823

Please sign in to comment.