Skip to content

Commit 0798779

Browse files
committed
Type fixes
1 parent 1ce91ac commit 0798779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Doctrine/ODM/MongoDB/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ public function setUseLazyGhostObject(bool $flag): void
652652

653653
public function isLazyGhostObjectEnabled(): bool
654654
{
655-
return $this->useLazyGhostObject ?? true;
655+
return $this->useLazyGhostObject;
656656
}
657657
}
658658

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)