diff --git a/src/Exportable.php b/src/Exportable.php index b16b684..d3ccc89 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://output')) { + if (str_starts_with($path, 'php://output')) { $path = explode(';', $path)[0]; }