diff --git a/core/Entity/Site/Page/Page.php b/core/Entity/Site/Page/Page.php index f48602d..58280fd 100644 --- a/core/Entity/Site/Page/Page.php +++ b/core/Entity/Site/Page/Page.php @@ -53,7 +53,7 @@ class Page implements EntityInterface /** * @ORM\Column(type="string", length=255, nullable=true) */ - protected $metaDescrition; + protected $metaDescription; /** * @ORM\Column(type="string", length=255, nullable=true) @@ -192,14 +192,14 @@ class Page implements EntityInterface return $this; } - public function getMetaDescrition(): ?string + public function getMetaDescription(): ?string { - return $this->metaDescrition; + return $this->metaDescription; } - public function setMetaDescrition(?string $metaDescrition): self + public function setMetaDescription(?string $metaDescription): self { - $this->metaDescrition = $metaDescrition; + $this->metaDescription = $metaDescription; return $this; } diff --git a/core/Form/Site/Page/PageType.php b/core/Form/Site/Page/PageType.php index 5ac2eba..b6db1ad 100644 --- a/core/Form/Site/Page/PageType.php +++ b/core/Form/Site/Page/PageType.php @@ -44,7 +44,7 @@ class PageType extends AbstractType ); $builder->add( - 'metaDescrition', + 'metaDescription', TextType::class, [ 'label' => 'Description',