Removed useless setAccessible() calls

They are noop since 8.1 and we only support 8.2+
This commit is contained in:
Jan Böhmer 2026-06-25 10:54:13 +02:00
parent 5e18ae2874
commit 9d4dabbd20
5 changed files with 2 additions and 18 deletions

View file

@ -276,7 +276,6 @@ final class AttachmentTest extends TestCase
{
$reflection = new ReflectionClass($object);
$reflection_property = $reflection->getProperty($property);
$reflection_property->setAccessible(true);
$reflection_property->setValue($object, $value);
}