Skip to content

Commit

Permalink
tests: data table builder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Feb 20, 2024
1 parent 581cdc2 commit 7001016
Show file tree
Hide file tree
Showing 2 changed files with 439 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTableBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ public function addExporter(string|ExporterBuilderInterface $exporter, ?string $
throw $this->createBuilderLockedException();
}

if ($exporter instanceof ColumnBuilderInterface) {
if ($exporter instanceof ExporterBuilderInterface) {
$this->exporters[$exporter->getName()] = $exporter;

unset($this->unresolvedExporters[$exporter->getName()]);
Expand Down
Loading

0 comments on commit 7001016

Please sign in to comment.