mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
fix compatibility with interface
See https://github.com/Bee-Lab/BeelabTagBundle/issues/11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user