mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-12 22:19:31 +00:00
Use an enum for the part stock change type
This commit is contained in:
parent
9adfcc7aec
commit
7d99607919
5 changed files with 65 additions and 43 deletions
|
|
@ -43,7 +43,7 @@ class EnumColumn extends AbstractColumn
|
|||
return ($this->getEnumClass())::from($value);
|
||||
}
|
||||
|
||||
protected function configureOptions(OptionsResolver $resolver)
|
||||
protected function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue