composer cs

This commit is contained in:
Adrià
2025-03-27 10:23:57 +01:00
parent 30cb3e1b0d
commit 6ff4159ce6
@@ -25,7 +25,9 @@ class XlsxDownloader implements Downloader
if ($disk->exists($filePath = $directory . DIRECTORY_SEPARATOR . $fileName)) {
return response()->streamDownload(function () use ($disk, $filePath) {
if (ob_get_level()) ob_end_clean();
if (ob_get_level()) {
ob_end_clean();
}
echo $disk->get($filePath);
flush();
}, $fileName, [