From cda3acc1a5a77f79d594c12e501574e2e1c964bf Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 29 Sep 2026 07:10:19 +0200 Subject: [PATCH] wip --- app/Traits/Sofascore/GrappingToExcel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Traits/Sofascore/GrappingToExcel.php b/app/Traits/Sofascore/GrappingToExcel.php index afeb80e5..86df2530 100644 --- a/app/Traits/Sofascore/GrappingToExcel.php +++ b/app/Traits/Sofascore/GrappingToExcel.php @@ -23,14 +23,14 @@ trait GrappingToExcel switch ($this->task_id) { case 1: - $this->titel .= ucfirst($folder).'_'.$day; + $this->titel = ucfirst($folder) . '_' . $day; - $files = $this->get_tree($this->data_dir.'/'.$day); + $files = $this->get_tree($this->data_dir . '/' . $day); break; case 3: $task = SofaScoreTask::with('sport')->where('id', $this->task_id)->first(); - $this->titel = ucfirst($folder).'-'.$this->clean_string($task->name); + $this->titel = ucfirst($folder) . '-' . $this->clean_string($task->name); $files = $this->get_tree($this->data_dir); break; } @@ -57,7 +57,7 @@ trait GrappingToExcel } $spreadsheet = new Spreadsheet; - $spreadsheet->getProperties()->setTitle($this->titel.'-'.$count_from.'-'.$count_to); + $spreadsheet->getProperties()->setTitle($this->titel . '-' . $count_from . '-' . $count_to); $activeWorksheet = $spreadsheet->getActiveSheet(); $column = 1;