Closed jameslkingsley closed 2 years ago
Not sure if this is intentional, but it looks like this line also needs another \
:
https://github.com/openactive/models-php/blob/master/src/Validators/EnumValidator.php#L55
- strpos($classname, 'OpenActive\Enums\\') !== 0
+ strpos($classname, 'OpenActive\\Enums\\') !== 0
Validator wasn't resolving the fully qualified classname correctly.