From b8d30ba947b581744b39b0f8126e92c51c215e71 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 28 Jun 2024 14:18:58 +0200 Subject: [PATCH] Annotate enumerated string returns based on sitemap spec --- .../src/Framework/Features/XmlGenerators/SitemapGenerator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php b/packages/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php index be81abeecaf..01b3f2f10a8 100644 --- a/packages/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php +++ b/packages/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php @@ -91,6 +91,7 @@ protected function generatePriority(string $pageClass, string $identifier): stri /** * @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass + * @return 'always'|'hourly'|'daily '|'weekly'|'monthly'|'yearly'|'never' */ protected function generateChangeFrequency(string $pageClass, string $identifier): string {