Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Components][OptionsResolver] Fix&improve replaceDefaults() description#3264

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits intosymfony:2.2frombicpi:improve_method_description
Dec 18, 2013
Merged

[Components][OptionsResolver] Fix&improve replaceDefaults() description#3264

weaverryan merged 2 commits intosymfony:2.2frombicpi:improve_method_description
Dec 18, 2013

Conversation

bicpi
Copy link
Contributor

QA
Doc fix?yes
New docs?yes
Applies to2.2+
Fixed tickets-

The description of thereplaceDefaults() method was not correct. This PR replaces it with a new section about how to overwrite or replace default values correctly. See also:

Also changedClosure toclosure to be consistent (mixed usage before,closure follows Wikipedia)


* ``$options``: an :class:`Symfony\\Component\\OptionsResolver\\Options`
instance with all the other default options
* ``$previousValue``: the previous set default value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do not indent a list

weaverryan added a commit that referenced this pull requestDec 18, 2013
[Components][OptionsResolver] Fix&improve replaceDefaults() description
@weaverryanweaverryan merged commit650dd51 intosymfony:2.2Dec 18, 2013
@weaverryan
Copy link
Member

Wow, really great explanation. Nice work Philipp!

@bicpibicpi deleted the improve_method_description branchJanuary 5, 2014 13:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@bicpi@weaverryan@wouterj

[8]ページ先頭

©2009-2025 Movatter.jp