fix rector

This commit is contained in:
Julie Lenaerts 2023-09-14 10:04:18 +02:00
parent dccc2bf4a5
commit 87ea841aaa

View File

@ -63,7 +63,7 @@ class PersonMoveTest extends KernelTestCase
self::bootKernel(); self::bootKernel();
$em = self::$container->get(EntityManagerInterface::class); $em = self::$container->get(EntityManagerInterface::class);
foreach (self::$entitiesToDelete as list($class, $id)) { foreach (self::$entitiesToDelete as [$class, $id]) {
$entity = $em->find($class, $id); $entity = $em->find($class, $id);
if (null !== $entity) { if (null !== $entity) {