Skip to content

Commit 75df169

Browse files
committed
Optimization
1 parent c971111 commit 75df169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/src/Hydration/DoctrineEntityHydrationExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function dehydrate(object $object): mixed
8282

8383
private function objectManagerFor(string $class): ?ObjectManager
8484
{
85-
if (!interface_exists($class) && !class_exists($class)) {
85+
if (!class_exists($class) && !interface_exists($class)) {
8686
return null;
8787
}
8888

0 commit comments

Comments
 (0)