apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -33,12 +33,9 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
{
use \Symfony\Component\DependencyInjection\ContainerAwareTrait;
/**
* @var \Faker\Generator
*/
private $faker;
private readonly \Faker\Generator $faker;
public function __construct(private \Doctrine\ORM\EntityManager $entityManager)
public function __construct(private readonly \Doctrine\ORM\EntityManager $entityManager)
{
$this->faker = FakerFactory::create('fr_FR');
}