From 6d9d791dcdb01a9b6fd6f48d46f0d5fff86e6260 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 20 Feb 2024 08:27:10 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Excel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }