Skip to content

Commit e9afa14

Browse files
committed
Code styling
1 parent 2efae98 commit e9afa14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/LiveComponent/src/Hydration/DoctrineEntityHydrationExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private function objectManagerFor(string $class): ?ObjectManager
106106
// It is good to check for a specific exception ?
107107
// eg: \Doctrine\Persistence\Mapping\MappingException
108108
// Maybe not needed, because it does not failed even when the class does not exist at all
109-
throw $e;
109+
// throw $e;
110110
}
111111

112112
}

src/LiveComponent/tests/Integration/Hydration/DoctrineEntityHydrationExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function testHydrationFromInterface(): void
8282

8383
$entityFromDehydratation = $extension->hydrate($dehydratedData, AliasedEntityInterface::class);
8484

85-
self::assertSame($existingEntity, $entityFromDehydratation,"instance should be the same");
86-
self::assertNull($extension->hydrate(null, AliasedEntityInterface::class),"should return null if null is passed");
85+
self::assertSame($existingEntity, $entityFromDehydratation,'instance should be the same');
86+
self::assertNull($extension->hydrate(null, AliasedEntityInterface::class),'should return null if null is passed');
8787
}
8888
}

0 commit comments

Comments
 (0)