Skip to content

Commit

Permalink
Improve Statement::process internal codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jan 13, 2024
1 parent 72da7b5 commit fde594f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,9 @@ public function process(TabularDataReader $tabular_data, array $header = []): Ta
$iterator = $tabular_data->getRecords($header);
$iterator = $this->applyFilter($iterator);
$iterator = $this->buildOrderBy($iterator);
$iterator = new LimitIterator($iterator, $this->offset, $this->limit);

return $this->applySelect(
new LimitIterator($iterator, $this->offset, $this->limit),
$header
);
return $this->applySelect($iterator, $header);
}

/**
Expand Down

0 comments on commit fde594f

Please sign in to comment.