From fab048593ed30c3cdf7d23902d3edeefb9d40f71 Mon Sep 17 00:00:00 2001 From: Martin Folkerts Date: Fri, 29 Mar 2024 19:52:48 +0100 Subject: [PATCH] changed mosiac for masaic --- laravel_app/app/Models/Project.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel_app/app/Models/Project.php b/laravel_app/app/Models/Project.php index 7bc557c..06a3f2e 100644 --- a/laravel_app/app/Models/Project.php +++ b/laravel_app/app/Models/Project.php @@ -163,7 +163,7 @@ public function allMosaicsPresent(Carbon $endDate): bool throw new \Exception('End date is in the future'); } - $mosaicsNotPresentInFilesystem = $this->getMosiacFilenameListByEndDate($endDate) + $mosaicsNotPresentInFilesystem = $this->getMosaicFilenameListByEndDate($endDate) ->filter(function ($filename) { return !$this->getMosaicList()->contains(function ($mosaicFilename) use ($filename) { return Str::endsWith($mosaicFilename, substr($filename, -16)); @@ -179,7 +179,7 @@ public function allMosaicsPresent(Carbon $endDate): bool throw new \Exception($message); } - public function getMosiacFilenameListByEndDate(Carbon $endDate): \Illuminate\Support\Collection + public function getMosaicFilenameListByEndDate(Carbon $endDate): \Illuminate\Support\Collection { $result = collect([]); for ($i = 0; $i < 4; $i++) {