Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: relax callable typehints to not require pure #563

Closed

Conversation

SamMousa
Copy link

The purity requirement for callbacks is very annoying to deal with, also it is not needed.

  1. PHPStan cannot auto-detect pure functions, so each transformer requires an annotation.
  2. This library should not care wether a transformer is pure; it is not impacted by this.

This solves #550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant