From 4933618075865e5d27c310276dc218d667be8174 Mon Sep 17 00:00:00 2001 From: Alex Szeliga Date: Fri, 16 Feb 2024 14:27:24 +0000 Subject: [PATCH] typo --- src/Exportable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exportable.php b/src/Exportable.php index 30b7d12..34b48a8 100644 --- a/src/Exportable.php +++ b/src/Exportable.php @@ -100,7 +100,7 @@ private function exportOrDownload($path, $function, callable $callback = null, $ $this->setOptions($options); // extract file type for writing to php://output - if (str_starts_with($path,'php://export')) { + if (str_starts_with($path,'php://output')) { $path = explode(';', $path)[0]; }