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

Reorder arguments: $request as the first argument #7018

Merged
merged 1 commit into from
Oct 6, 2016

Conversation

bocharsky-bw
Copy link
Contributor

The Request argument should be the first one due to it can't be optional, but other arguments can.

The `Request` argument should be the first one due to it can't be optional, but other arguments can
@javiereguiluz
Copy link
Member

👍 I agree. It's better for consistency.

@wouterj
Copy link
Member

wouterj commented Oct 3, 2016

👍

@wouterj
Copy link
Member

wouterj commented Oct 6, 2016

Thanks Victor!

@wouterj wouterj merged commit 31e5385 into symfony:2.7 Oct 6, 2016
wouterj added a commit that referenced this pull request Oct 6, 2016
…sky-bw)

This PR was merged into the 2.7 branch.

Discussion
----------

Reorder arguments: $request as the first argument

The `Request` argument should be the first one due to it can't be optional, but other arguments can.

Commits
-------

31e5385 Reorder arguments: $request as the first argument
@bocharsky-bw bocharsky-bw deleted the patch-5 branch October 7, 2016 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants