Skip to content

Commit 4d4c864

Browse files
committed
Type fixes
1 parent 1ce91ac commit 4d4c864

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Doctrine/ODM/MongoDB/Configuration.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ class Configuration
135135

136136
private bool $useLazyGhostObject = true;
137137

138-
139138
/**
140139
* Adds a namespace under a certain alias.
141140
*/
@@ -652,7 +651,7 @@ public function setUseLazyGhostObject(bool $flag): void
652651

653652
public function isLazyGhostObjectEnabled(): bool
654653
{
655-
return $this->useLazyGhostObject ?? true;
654+
return $this->useLazyGhostObject;
656655
}
657656
}
658657

lib/Doctrine/ODM/MongoDB/Proxy/Factory/LazyGhostProxyFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function __construct(
123123
$this->lifecycleEventManager = new LifecycleEventManager($dm, $this->uow, $dm->getEventManager());
124124
}
125125

126-
/** @param array<mixed> $identifier */
126+
/** @param mixed $identifier */
127127
public function getProxy(ClassMetadata $metadata, $identifier): InternalProxy
128128
{
129129
$className = $metadata->getName();

0 commit comments

Comments
 (0)