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: Empty Traversable in randomElements() #605

Merged
merged 2 commits into from Apr 2, 2023
Merged

fix: Empty Traversable in randomElements() #605

merged 2 commits into from Apr 2, 2023

Conversation

KentarouTakeda
Copy link

What is the reason for this PR?

Author's checklist

Summary of changes

Review checklist

  • All checks have passed
  • Changes are approved by maintainer

@stale
Copy link

stale bot commented Mar 11, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 1 week if no further activity occurs. Thank you for your contributions.

@stale stale bot closed this Mar 18, 2023
@bram-pkg bram-pkg reopened this Mar 21, 2023
@stale stale bot removed the lifecycle/stale label Mar 21, 2023
@bram-pkg
Copy link
Member

Looks good to me but make sure PHPstan is passing please.

@KentarouTakeda
Copy link
Author

@bram-pkg
Thanks for the review! sorry i didn't notice. Fixed it!

It seems that CI has not been executed in this PR, but I checked the path in my forked repository.
https://github.com/ktakeda-forks/Faker/actions/runs/4478142815

@localheinz localheinz self-assigned this Apr 2, 2023
@localheinz localheinz added the bug Something isn't working label Apr 2, 2023
@localheinz localheinz merged commit feb1640 into FakerPHP:main Apr 2, 2023
@localheinz
Copy link
Member

Thank you, @bram-pkg and @KentarouTakeda!

@localheinz localheinz mentioned this pull request Apr 2, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when an empty Traversable is entered into randomElements()
3 participants