Skip to content

Commit

Permalink
Remove unused call to ReflectionProperty::setAccessible
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Setter <[email protected]>
  • Loading branch information
settermjd committed Dec 14, 2024
1 parent ed56555 commit d734c7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/ServiceManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ public function testDuplicateDelegatorsAreRemoved(): void
];
$serviceManager = new ServiceManager($dependencies);
$property = new ReflectionProperty(ServiceManager::class, "delegators");
$property->setAccessible(true);
$delegators = $property->getValue($serviceManager);
$delegators = $property->getValue($serviceManager);
self::assertSame(
[
DateTime::class => [
Expand Down

0 comments on commit d734c7d

Please sign in to comment.