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

[5.7] Make MessageBag constructor behaviour consistent with add #23485

Merged
merged 2 commits into from
Mar 12, 2018
Merged

[5.7] Make MessageBag constructor behaviour consistent with add #23485

merged 2 commits into from
Mar 12, 2018

Conversation

michaeldyrynda
Copy link
Contributor

Addresses laravel/ideas#56 and the (long-closed) #13196.

This change in constructor behaviour aims to bring consistency with the public add method on the MessageBag class, which would prevent duplicate values in any given MessageBag's key.

Targeting next as this could affect user-land code.

Addresses laravel/ideas#56 and the (long-closed) #13196.

This change in constructor behaviour aims to bring consistency with the
public `add` method on the MessageBag class, which would prevent
duplicate values in any given MessageBag's key.
@GrahamCampbell GrahamCampbell changed the title Make MessageBag constructor behaviour consistent with add [5.7] Make MessageBag constructor behaviour consistent with add Mar 11, 2018
@taylorotwell taylorotwell merged commit cae41f6 into laravel:master Mar 12, 2018
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