-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[5.4] Support amount 0 in Arr::random() #20439
Merged
Merged
Commits on Aug 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8ad4b82 - Browse repository at this point
Copy the full SHA 8ad4b82View commit details -
I overlooked it, so I guess it's better to consolidate in one method.
Configuration menu - View commit details
-
Copy full SHA for bad0d7a - Browse repository at this point
Copy the full SHA bad0d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b78bb4e - Browse repository at this point
Copy the full SHA b78bb4eView commit details -
Support amount 0 in Arr::random()
For consistency with Collection::random()
Configuration menu - View commit details
-
Copy full SHA for f0f734b - Browse repository at this point
Copy the full SHA f0f734bView commit details -
Remove code for handling amount 0 in Collection::random()
Now redundant because Arr::random() supports it. DRY principle, and the case is covered by tests.
Configuration menu - View commit details
-
Copy full SHA for edbc5d0 - Browse repository at this point
Copy the full SHA edbc5d0View commit details -
Support amount '0' as a string in Arr and Collection random()
For consistency with other numbers, as they are accepted as strings.
Configuration menu - View commit details
-
Copy full SHA for b93b7ae - Browse repository at this point
Copy the full SHA b93b7aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dec807 - Browse repository at this point
Copy the full SHA 9dec807View commit details
Commits on Aug 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e751518 - Browse repository at this point
Copy the full SHA e751518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46699d5 - Browse repository at this point
Copy the full SHA 46699d5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.