diff --git a/src/Exportable.php b/src/Exportable.php index 34b48a8..b16b684 100644 --- a/src/Exportable.php +++ b/src/Exportable.php @@ -84,7 +84,7 @@ public function download($path, callable $callback = null) * @throws \OpenSpout\Writer\Exception\WriterNotOpenedException * @throws \OpenSpout\Common\Exception\SpoutException */ - private function exportOrDownload($path, $function, callable $callback = null, $ext = null) + private function exportOrDownload($path, $function, callable $callback = null) { if (str_ends_with($path, 'csv')) { $options = new \OpenSpout\Writer\CSV\Options();