Skip to content

Commit

Permalink
Expand PHPDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 28, 2024
1 parent 04aebd1 commit 29661ff
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ protected function getLastModDate(string $file): string
return date('c', @Filesystem::lastModified($file) ?: Carbon::now()->timestamp);
}

/** @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass */
/**
* @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass
*/
protected function generatePriority(string $pageClass, string $identifier): string
{
$priority = 0.5;
Expand All @@ -86,7 +88,9 @@ protected function generatePriority(string $pageClass, string $identifier): stri
return (string) $priority;
}

/** @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass */
/**
* @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass
*/
protected function generateChangeFrequency(string $pageClass, string $identifier): string
{
$frequency = 'weekly';
Expand Down

0 comments on commit 29661ff

Please sign in to comment.