From c55d785f94fa003456b5f7c6f339aaf648813c00 Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 11 Aug 2025 07:12:49 +0200 Subject: [PATCH] Remove noop setAccessible() call --- src/Doctrine/DoctrineHelper.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Doctrine/DoctrineHelper.php b/src/Doctrine/DoctrineHelper.php index 72a077bcb..65e03c06d 100644 --- a/src/Doctrine/DoctrineHelper.php +++ b/src/Doctrine/DoctrineHelper.php @@ -155,7 +155,6 @@ public function getMetadata(?string $classOrNamespace = null, bool $disconnected if ($attributeDriver instanceof AttributeDriver) { $classNames = (new \ReflectionClass(AttributeDriver::class))->getProperty('classNames'); - $classNames->setAccessible(true); $classNames->setValue($attributeDriver, null); } }