Skip to content

Commit

Permalink
fix: Export::invoke expects array
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAmjid authored and paveljanda committed Apr 26, 2021
1 parent 1dd1de2 commit 8e9d686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Export/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function isFiltered(): bool
/**
* Call export callback
*/
public function invoke(array $data): void
public function invoke(iterable $data): void
{
($this->callback)($data, $this->grid);
}
Expand Down

0 comments on commit 8e9d686

Please sign in to comment.