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

Add @return annotations #923

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

odolbeau
Copy link

@odolbeau odolbeau commented Dec 12, 2024

What is the reason for this PR?

Some methods does not have any return type.
PHPStan consider they return mixed and I have some "errors" in personal projects which use those methods.
This PR add @return annotations to fix this "problem".

See #922

Author's checklist

Summary of changes

See #922

Review checklist

  • All checks have passed
  • Changes are added to the CHANGELOG.md
  • Changes are approved by maintainer

@pimjansen pimjansen merged commit a1f1c0e into FakerPHP:1.24 Dec 13, 2024
13 checks passed
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.

2 participants