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.