Skip to content

Commit bd56d03

Browse files
committed
fonts fix
Signed-off-by: MarioRadu <[email protected]>
1 parent 3a1c032 commit bd56d03

File tree

7 files changed

+5
-1
lines changed

7 files changed

+5
-1
lines changed
-39.5 KB
Binary file not shown.
-66.4 KB
Binary file not shown.
-53 KB
Binary file not shown.
-39.5 KB
Binary file not shown.
-66.4 KB
Binary file not shown.
Binary file not shown.

src/App/src/DBAL/Types/AbstractEnumType.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ public function getSQLDeclaration(array $column, AbstractPlatform $platform): st
2828

2929
public function convertToPHPValue(mixed $value, AbstractPlatform $platform): mixed
3030
{
31-
return $value;
31+
if (! $value instanceof BackedEnum) {
32+
return $value;
33+
}
34+
35+
return $value->value;
3236
}
3337

3438
public function convertToDatabaseValue(mixed $value, AbstractPlatform $platform): mixed

0 commit comments

Comments
 (0)