Skip to content

Commit 39574c9

Browse files
committed
Pint 🍻
1 parent 08778ad commit 39574c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class Fields
1010
{
11-
use HasAssetField, GetsSectionDefaults;
11+
use GetsSectionDefaults, HasAssetField;
1212

1313
protected $data;
1414
protected $isContent;

src/Http/Controllers/SitemapController.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ public function index()
1717

1818
if (config('statamic.seo-pro.sitemap.pagination.enabled', false)) {
1919
$content = Cache::remember(Sitemap::CACHE_KEY.'_index', $cacheUntil, function () {
20-
return view('seo-pro::sitemap_index', [
21-
'xml_header' => '<?xml version="1.0" encoding="UTF-8"?>',
22-
'sitemaps' => Sitemap::paginatedSitemaps(),
23-
])->render();
24-
});
20+
return view('seo-pro::sitemap_index', [
21+
'xml_header' => '<?xml version="1.0" encoding="UTF-8"?>',
22+
'sitemaps' => Sitemap::paginatedSitemaps(),
23+
])->render();
24+
});
2525
} else {
2626
$content = Cache::remember(Sitemap::CACHE_KEY, $cacheUntil, function () {
2727
return view('seo-pro::sitemap', [

0 commit comments

Comments
 (0)