diff --git a/ModelDescriber/EnumModelDescriber.php b/ModelDescriber/EnumModelDescriber.php index b1cc18fb4..965d3839c 100644 --- a/ModelDescriber/EnumModelDescriber.php +++ b/ModelDescriber/EnumModelDescriber.php @@ -23,7 +23,6 @@ public function describe(Model $model, Schema $schema) } else { $schema->type = 'string'; } - $schema->type = is_subclass_of($enumClass, \IntBackedEnum::class) ? 'int' : 'string'; $schema->enum = $enums; }