mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Use enums for LabelOptions
This commit is contained in:
parent
485b35fbd4
commit
71cd4057a7
23 changed files with 329 additions and 157 deletions
|
@ -38,10 +38,8 @@ class BigDecimalType extends Type
|
|||
|
||||
/**
|
||||
* @param string|null $value
|
||||
*
|
||||
* @return BigDecimal|BigNumber|mixed
|
||||
*/
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||
public function convertToPHPValue(mixed $value, AbstractPlatform $platform): ?BigNumber
|
||||
{
|
||||
if (null === $value) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue