Skip to content

Commit 4188b77

Browse files
Remove reaonly modifier from EntityManager
1 parent dbfe47b commit 4188b77

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/EntityManager.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,27 @@ class EntityManager implements EntityManagerInterface
6363
/**
6464
* The metadata factory, used to retrieve the ORM metadata of entity classes.
6565
*/
66-
private readonly ClassMetadataFactory $metadataFactory;
66+
private ClassMetadataFactory $metadataFactory;
6767

6868
/**
6969
* The UnitOfWork used to coordinate object-level transactions.
7070
*/
71-
private readonly UnitOfWork $unitOfWork;
71+
private UnitOfWork $unitOfWork;
7272

7373
/**
7474
* The event manager that is the central point of the event system.
7575
*/
76-
private readonly EventManager $eventManager;
76+
private EventManager $eventManager;
7777

7878
/**
7979
* The proxy factory used to create dynamic proxies.
8080
*/
81-
private readonly ProxyFactory $proxyFactory;
81+
private ProxyFactory $proxyFactory;
8282

8383
/**
8484
* The repository factory used to create dynamic repositories.
8585
*/
86-
private readonly RepositoryFactory $repositoryFactory;
86+
private RepositoryFactory $repositoryFactory;
8787

8888
/**
8989
* The expression builder instance used to generate query expressions.
@@ -112,8 +112,8 @@ class EntityManager implements EntityManagerInterface
112112
* @param Connection $conn The database connection used by the EntityManager.
113113
*/
114114
public function __construct(
115-
private readonly Connection $conn,
116-
private readonly Configuration $config,
115+
private Connection $conn,
116+
private Configuration $config,
117117
EventManager|null $eventManager = null,
118118
) {
119119
if (! $config->getMetadataDriverImpl()) {

0 commit comments

Comments
 (0)