schmittjoh / serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)
http://jmsyst.com/libs/serializer
MIT License
2.31k stars 591 forks source link

fix(builder): enableEnumSupport should return self #1501

Closed Anticom closed 12 months ago

Anticom commented 12 months ago
Q A
Bug fix? yes/no
New feature? yes/no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes/no
Fixed tickets -
License MIT

Not sure whether this should be classified as fix or feature.

With this PR the SerializerBuilder::enableEnumSupport method now returns $this to retain the fluent interface.

Anticom commented 12 months ago

Relates to #1448