We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5d02fa + 38153c4 commit 5296e39Copy full SHA for 5296e39
src/Services/DataTable.php
@@ -433,7 +433,7 @@ protected function buildExcelFile()
433
return $this->buildFastExcelFile();
434
}
435
436
- if (! is_subclass_of($this->exportClass, DataTablesExportHandler::class)) {
+ if (! new $this->exportClass(collect()) instanceof DataTablesExportHandler) {
437
$collection = $this->getAjaxResponseData();
438
439
return new $this->exportClass($this->convertToLazyCollection($collection));
0 commit comments