forked from loafle/openapi-generator-original
When the setter is taking an array as argument we cannot use `in_array()` to validate if the values are part of the allowed enum values. Instead we use `array_diff()` for containers now.
When the setter is taking an array as argument we cannot use `in_array()` to validate if the values are part of the allowed enum values. Instead we use `array_diff()` for containers now.