This commit is contained in:
Simon Vieille 2021-07-12 13:15:30 +02:00
parent 4a66790fe5
commit 43a12e2bb5
2 changed files with 6 additions and 6 deletions

View file

@ -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;
}

View file

@ -44,7 +44,7 @@ class PageType extends AbstractType
);
$builder->add(
'metaDescrition',
'metaDescription',
TextType::class,
[
'label' => 'Description',