Use typed properties

This commit is contained in:
Jan Böhmer 2022-09-18 22:59:31 +02:00
parent 548ec2ea50
commit 51e05a8669
216 changed files with 603 additions and 698 deletions

View file

@ -58,7 +58,7 @@ use InvalidArgumentException;
class DataStructureFixtures extends Fixture
{
protected $em;
protected EntityManagerInterface $em;
public function __construct(EntityManagerInterface $entityManager)
{

View file

@ -31,7 +31,7 @@ use Doctrine\Persistence\ObjectManager;
class LabelProfileFixtures extends Fixture
{
protected $em;
protected EntityManagerInterface $em;
public function __construct(EntityManagerInterface $entityManager)
{

View file

@ -42,7 +42,7 @@ use Doctrine\Persistence\ObjectManager;
class PartFixtures extends Fixture
{
protected $em;
protected EntityManagerInterface $em;
public function __construct(EntityManagerInterface $entityManager)
{

View file

@ -50,8 +50,8 @@ use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
class UserFixtures extends Fixture
{
protected $encoder;
protected $em;
protected UserPasswordHasherInterface $encoder;
protected EntityManagerInterface $em;
public function __construct(UserPasswordHasherInterface $encoder, EntityManagerInterface $entityManager)
{