mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 20:43:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -20,7 +20,7 @@ use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="centers")
|
||||
*/
|
||||
class Center implements HasCenterInterface
|
||||
class Center implements HasCenterInterface, \Stringable
|
||||
{
|
||||
/**
|
||||
* @var Collection
|
||||
@@ -59,7 +59,7 @@ class Center implements HasCenterInterface
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->getName();
|
||||
}
|
||||
@@ -85,7 +85,7 @@ class Center implements HasCenterInterface
|
||||
/**
|
||||
* @return ArrayCollection|Collection
|
||||
*/
|
||||
public function getGroupCenters()
|
||||
public function getGroupCenters(): \Doctrine\Common\Collections\ArrayCollection|\Doctrine\Common\Collections\Collection
|
||||
{
|
||||
return $this->groupCenters;
|
||||
}
|
||||
|
Reference in New Issue
Block a user