mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-07-27 11:41:36 +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
|
|
@ -233,7 +233,6 @@ trait PKImportHelperTrait
|
|||
|
||||
$reflectionClass = new \ReflectionClass($entity);
|
||||
$property = $reflectionClass->getProperty('addedDate');
|
||||
$property->setAccessible(true);
|
||||
$property->setValue($entity, $date);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue