changed mosiac for masaic

This commit is contained in:
Martin Folkerts 2024-03-29 19:52:48 +01:00
parent c29b91801b
commit fab048593e

View file

@ -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++) {