diff --git a/src/Schemas/AvroSchemaType.php b/src/Schemas/AvroSchemaType.php index fbe2104..785ccc1 100644 --- a/src/Schemas/AvroSchemaType.php +++ b/src/Schemas/AvroSchemaType.php @@ -9,7 +9,7 @@ /** * @implements SchemaType */ -final class AvroSchemaType extends ValueObject implements SchemaType +final class AvroSchemaType extends SchemaTypes implements SchemaType { /** * @var AvroSchemaType diff --git a/src/Schemas/JsonSchemaType.php b/src/Schemas/JsonSchemaType.php index 8f27113..ae6bc07 100644 --- a/src/Schemas/JsonSchemaType.php +++ b/src/Schemas/JsonSchemaType.php @@ -9,7 +9,7 @@ /** * @implements SchemaType */ -final class JsonSchemaType extends ValueObject implements SchemaType +final class JsonSchemaType extends SchemaTypes implements SchemaType { /** * @var JsonSchemaType diff --git a/src/Schemas/ProtobufSchemaType.php b/src/Schemas/ProtobufSchemaType.php index 389bd70..d7420fd 100644 --- a/src/Schemas/ProtobufSchemaType.php +++ b/src/Schemas/ProtobufSchemaType.php @@ -9,7 +9,7 @@ /** * @implements SchemaType */ -final class ProtobufSchemaType extends ValueObject implements SchemaType +final class ProtobufSchemaType extends SchemaTypes implements SchemaType { /** * @var ProtobufSchemaType diff --git a/src/Schemas/SchemaTypes.php b/src/Schemas/SchemaTypes.php new file mode 100644 index 0000000..75b4abe --- /dev/null +++ b/src/Schemas/SchemaTypes.php @@ -0,0 +1,34 @@ +