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

Prevent false positive for NoUnnecessaryCollectionCallRule when using arrow functions #1483

Conversation

JeppeKnockaert
Copy link
Contributor

@JeppeKnockaert JeppeKnockaert commented Dec 16, 2022

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Using arrow functions in contains and first no longer results in false positives for NoUnnecessaryCollectionCallRule.

@canvural canvural merged commit fddc5b0 into larastan:master Dec 16, 2022
@canvural
Copy link
Collaborator

Thank you!

@JeppeKnockaert JeppeKnockaert deleted the collection-call-rule-for-arrow-functions branch December 16, 2022 13:40
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.

None yet

2 participants