diff --git a/src/Excel.php b/src/Excel.php index a3198a20..9dce753f 100644 --- a/src/Excel.php +++ b/src/Excel.php @@ -81,7 +81,7 @@ public function __construct( public function download($export, string $fileName, string $writerType = null, array $headers = []) { // Clear output buffer to prevent stuff being prepended to the Excel output. - if ( ob_get_length() > 0 ) { + if (ob_get_length() > 0) { ob_end_clean(); ob_start(); }