Skip to content

Strict object type checking doesn't allow backed enums. #247

@jeroen1602

Description

@jeroen1602

The library throws an exception when bStrictObjectTypeChecking is enabled and the object that needs to be mapped has a backed enum inside of it. The error states that $var must be an object, integer given.

I created an example project with a minimum setup to reproduce it.

I'm willing to create a PR for this if you want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions