diff --git a/src/Concerns/HasMetadata.php b/src/Concerns/HasMetadata.php index 05534b99..404f564c 100644 --- a/src/Concerns/HasMetadata.php +++ b/src/Concerns/HasMetadata.php @@ -12,7 +12,7 @@ * * @see \Hyde\Framework\Models\Metadata * @see \Tests\Feature\Concerns\HasMetadataTest - * + * * @todo Unify the $page property and handle metadata through it */ trait HasMetadata @@ -48,6 +48,7 @@ public function getMetaProperties(): array /** * Generate metadata from the front matter that can be used in standard tags. + * * @deprecated Will be refactored to parseFrontMatterMetadata */ protected function makeMetadata(): void @@ -68,6 +69,7 @@ protected function makeMetadata(): void /** * Generate metadata from the front matter that can be used for og:type tags. * Note that this currently assumes that the object using it is a Blog Post. + * * @deprecated Will be refactored to parseFrontMatterMetadata */ protected function makeMetaProperties(): void @@ -103,6 +105,7 @@ protected function makeMetaProperties(): void /** * Parse the author string from the front matter with support for both flat and array notation. + * * @deprecated Will be moved to the Author model * * @param string|array $author diff --git a/src/Models/Metadata.php b/src/Models/Metadata.php index f72253c3..27c48619 100644 --- a/src/Models/Metadata.php +++ b/src/Models/Metadata.php @@ -7,7 +7,7 @@ /** * Metadata class for storing metadata about a model. * Is used in Blade views to create tags. - * + * * @deprecated Will be merged with Meta class */ class Metadata