diff --git a/test/ServiceManagerTest.php b/test/ServiceManagerTest.php index 3fd452e7..1e05601d 100644 --- a/test/ServiceManagerTest.php +++ b/test/ServiceManagerTest.php @@ -385,7 +385,6 @@ public function testDuplicateDelegatorsAreRemoved(): void ]; $serviceManager = new ServiceManager($dependencies); $property = new ReflectionProperty(ServiceManager::class, "delegators"); - $property->setAccessible(true); $delegators = $property->getValue($serviceManager); self::assertSame( [