You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've ran into a problem today. While trying to generate the openapi file I had the following error:
TypeResolver is a dependency of ReflectionDocBlock, which is required by this package, I'm not sure if this is an issue related to this package or more on the side of ReflectionDocBlock but I decided to leave it here, maybe this saves other people some time aswell.
This exception only occurs on version 1.7 of TypeResolver, it works just fine on version 1.6.2. Since the update happened just 3 days ago I assume it has to be from the changes related to that.
These changes include a complete refactor of the TypeResolver.php which seems to cause this exception for me.
A quick fix is to add "phpdocumentor/type-resolver": "1.6.2" to your own composer.json.
The text was updated successfully, but these errors were encountered:
Hello,
I've ran into a problem today. While trying to generate the openapi file I had the following error:
TypeResolver is a dependency of ReflectionDocBlock, which is required by this package, I'm not sure if this is an issue related to this package or more on the side of ReflectionDocBlock but I decided to leave it here, maybe this saves other people some time aswell.
This exception only occurs on version 1.7 of TypeResolver, it works just fine on version 1.6.2. Since the update happened just 3 days ago I assume it has to be from the changes related to that.
These changes include a complete refactor of the TypeResolver.php which seems to cause this exception for me.
A quick fix is to add
"phpdocumentor/type-resolver": "1.6.2"
to your own composer.json.The text was updated successfully, but these errors were encountered: