mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -58,7 +58,7 @@ use InvalidArgumentException;
|
|||
|
||||
class DataStructureFixtures extends Fixture
|
||||
{
|
||||
protected $em;
|
||||
protected EntityManagerInterface $em;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ use Doctrine\Persistence\ObjectManager;
|
|||
|
||||
class LabelProfileFixtures extends Fixture
|
||||
{
|
||||
protected $em;
|
||||
protected EntityManagerInterface $em;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ use Doctrine\Persistence\ObjectManager;
|
|||
|
||||
class PartFixtures extends Fixture
|
||||
{
|
||||
protected $em;
|
||||
protected EntityManagerInterface $em;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue