diff --git a/Hydrator/SimpleObjectHydrator.php b/Hydrator/SimpleObjectHydrator.php index 8cd5af6..206fa68 100755 --- a/Hydrator/SimpleObjectHydrator.php +++ b/Hydrator/SimpleObjectHydrator.php @@ -99,11 +99,6 @@ protected function doHydrateRowData(string $className, array $data): object continue; } - $enumValue = $this->getEnumForValue($classMetaData, $property, $value); - if($enumValue !== null) { - $value = $enumValue; - } - //$property->setAccessible(true); $property->setValue($entity, $value); //$property->setAccessible(false);