Skip to content

Getting all flags results in an invalid call to settype with $class set to mixed #4

@nesl247

Description

@nesl247

In

if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) {
it makes an invalid call to settype() with $class set to mixed. This is rendering us unable to use this functionality of this library.

OpenAPITools/openapi-generator#8943

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions