Skip to content

fix: Empty Traversable in randomElements()#605

Merged
localheinz merged 2 commits intomainfrom
unknown repository
Apr 2, 2023
Merged

fix: Empty Traversable in randomElements()#605
localheinz merged 2 commits intomainfrom
unknown repository

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