Commit 4f59e8ca authored by Arnaud Bey's avatar Arnaud Bey

fix entities

parent 89ab0798
......@@ -87,7 +87,7 @@ class Elan
return $this->link;
}
public function setLink(string $link): self
public function setLink(?string $link): self
{
$this->link = $link;
......
......@@ -124,7 +124,7 @@ class Square
return $this->subtitle;
}
public function setSubtitle(string $subtitle): self
public function setSubtitle(?string $subtitle): self
{
$this->subtitle = $subtitle;
......@@ -136,7 +136,7 @@ class Square
return $this->twoWords;
}
public function setTwoWords(string $twoWords): self
public function setTwoWords(?string $twoWords): self
{
$this->twoWords = $twoWords;
......@@ -160,7 +160,7 @@ class Square
return $this->state;
}
public function setState(string $state): self
public function setState(?string $state): self
{
$this->state = $state;
......@@ -208,7 +208,7 @@ class Square
return $this->link;
}
public function setLink(string $link): self
public function setLink(?string $link): self
{
$this->link = $link;
......@@ -220,7 +220,7 @@ class Square
return $this->color;
}
public function setColor(string $color): self
public function setColor(?string $color): self
{
$this->color = $color;
......@@ -256,7 +256,7 @@ class Square
return $this->textColor;
}
public function setTextColor(string $textColor): self
public function setTextColor(?string $textColor): self
{
$this->textColor = $textColor;
......@@ -268,7 +268,7 @@ class Square
return $this->width;
}
public function setWidth(int $width): self
public function setWidth(?int $width): self
{
$this->width = $width;
......@@ -280,7 +280,7 @@ class Square
return $this->position;
}
public function setPosition(int $position): self
public function setPosition(?int $position): self
{
$this->position = $position;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment