mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-25 00:27:32 +01:00
Fixed inspection issues
This commit is contained in:
@@ -112,7 +112,7 @@ class StructuralEntityType extends AbstractType
|
||||
return new StructuralEntityChoiceLoader($options, $this->builder, $this->em);
|
||||
},
|
||||
'choice_label' => function (Options $options) {
|
||||
return function ($choice, $key, $value) use ($options) {
|
||||
return function ($choice, $key, $value) {
|
||||
return $this->choice_helper->generateChoiceLabel($choice);
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user