@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Thinktomorrow\Chief\System\Sitemap; |
5 | 5 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | { |
28 | 28 | $files = $this->filesystem->files($directory); |
29 | 29 | |
30 | - return collect($files)->filter(function($file){ |
|
30 | + return collect($files)->filter(function($file) { |
|
31 | 31 | return (Str::startsWith($file->getFileName(), 'sitemap-') && Str::endsWith($file->getFileName(), '.xml')); |
32 | 32 | }); |
33 | 33 | } |