DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

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