Skip to content

Commit

Permalink
remove leftover optional param
Browse files Browse the repository at this point in the history
  • Loading branch information
alexszeliga committed Feb 16, 2024
1 parent 4933618 commit 3c9b11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exportable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3c9b11b

Please sign in to comment.