Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent 053b92b77c
commit 17db59d221
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -51,7 +51,7 @@ class LoadAddressReferences extends AbstractFixture implements ContainerAwareInt
$manager->flush();
}
public function setContainer(?ContainerInterface $container = null)
public function setContainer(?ContainerInterface $container = null): void
{
$this->container = $container;
}
@@ -61,7 +61,7 @@ class LoadAddressReferences extends AbstractFixture implements ContainerAwareInt
*
* @return AddressReference
*/
private function getRandomAddressReference()
private function getRandomAddressReference(): \Chill\MainBundle\Entity\AddressReference
{
$ar = new AddressReference();
@@ -84,7 +84,7 @@ class LoadAddressReferences extends AbstractFixture implements ContainerAwareInt
*
* @return Point
*/
private function getRandomPoint()
private function getRandomPoint(): \Chill\MainBundle\Doctrine\Model\Point
{
$lonBrussels = 4.35243;
$latBrussels = 50.84676;