Skip to content

Conversation

@bocharsky-bw
Copy link
Contributor

@bocharsky-bw bocharsky-bw commented Sep 29, 2016

Method name is clearer with empty parentheses at the end

Bundle Controller Class Method Name
============= ================== ==============
``AppBundle`` ``BlogController`` ``showAction``
``AppBundle`` ``BlogController`` ``showAction()``
Copy link
Member

Choose a reason for hiding this comment

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

You now have to expand the table = lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, sorry, missed it. Expanded

@wouterj
Copy link
Member

wouterj commented Sep 29, 2016

👍
status: reviewed

Thanks!

@javiereguiluz
Copy link
Member

A big 👍 from me (and I think there are other places where we could do this change). Thanks @bocharsky-bw!

@wouterj
Copy link
Member

wouterj commented Sep 29, 2016

Thanks again! (fyi, this PR is closed as the commit has been merged in 2.7, the lowest still maintained branch)

wouterj added a commit that referenced this pull request Sep 29, 2016
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7016).

Discussion
----------

Add empty parentheses to method names

Method name is clearer with empty parentheses at the end

Commits
-------

04c44e9 Add empty parentheses to the method name
@wouterj wouterj closed this Sep 29, 2016
@bocharsky-bw
Copy link
Contributor Author

You're welcome!
@javiereguiluz I'll look closely at it and will send more PRs if I found something.
@wouterj Should I send further PRs to the 2.7 branch instead of master?

@bocharsky-bw bocharsky-bw deleted the patch-5 branch September 29, 2016 10:15
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.

5 participants