From f00f73aa3e4ada96b9538397ba6e66a7638a713b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20St=C4=99pie=C5=84?= Date: Wed, 15 Jun 2022 23:14:15 +0200 Subject: [PATCH] fix: set $records to Collection | Closure | null --- src/Actions/ExportAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/ExportAction.php b/src/Actions/ExportAction.php index 7565b4d..0880c95 100644 --- a/src/Actions/ExportAction.php +++ b/src/Actions/ExportAction.php @@ -41,7 +41,7 @@ class ExportAction extends BulkAction implements FromCollection, WithCustomChunk protected ?string $model; - protected ?Collection $records; + protected Collection | Closure | null $records; protected function setUp(): void {