Skip to content

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Jun 24, 2016

Q A
Branch? 2.7
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets https://github.com/symfony/symfony/pull/19134/files/3871e1a95056ce8278e6b86d3e8005836ecab954#r68286709
License MIT
Doc PR n/a

@fabpot fabpot merged commit 35f32eb into symfony:2.7 Jun 24, 2016
fabpot added a commit that referenced this pull request Jun 24, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[Console] removed unneeded private methods

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/19134/files/3871e1a95056ce8278e6b86d3e8005836ecab954#r68286709
| License       | MIT
| Doc PR        | n/a

Commits
-------

35f32eb [Console] removed unneeded private methods
@rquadling
Copy link
Contributor

rquadling commented Jun 24, 2016

OOI, why not have this as a local static? It really is only of use in this 1 method (and was were I placed it originally) :-D

@jvasseur
Copy link
Contributor

Method static vars are shared by all instances of a class so it wouldn't work here.

@rquadling
Copy link
Contributor

Of course they are! (Hangs head in shame!)

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