mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-06-25 20:11:34 +00:00
Removed useless setAccessible() calls
They are noop since 8.1 and we only support 8.2+
This commit is contained in:
parent
5e18ae2874
commit
9d4dabbd20
5 changed files with 2 additions and 18 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue