From 1d79bfacb2adf80ae4766a41292956a07ccfa9af Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Sun, 23 Sep 2018 09:09:13 +0200 Subject: [PATCH] fix compatibility with interface See https://github.com/Bee-Lab/BeelabTagBundle/issues/11 --- beelab/tag-bundle/1.3/src/Entity/Tag.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beelab/tag-bundle/1.3/src/Entity/Tag.php b/beelab/tag-bundle/1.3/src/Entity/Tag.php index c4accc92..399bb03b 100644 --- a/beelab/tag-bundle/1.3/src/Entity/Tag.php +++ b/beelab/tag-bundle/1.3/src/Entity/Tag.php @@ -37,12 +37,12 @@ class Tag implements TagInterface return $this->id; } - public function setName($name) + public function setName(?string $name): void { $this->name = $name; } - public function getName() + public function getName(): ?string { return $this->name; }