Skip to content

Conversation

saro0h
Copy link
Contributor

@saro0h saro0h commented Jan 24, 2014

No description provided.

@@ -199,9 +199,8 @@ To begin with, change the ``TransportChain`` class::
if (array_key_exists($alias, $this->transports)) {
return $this->transports[$alias];
}
else {
Copy link
Contributor

Choose a reason for hiding this comment

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

and that was bad CS as well

👍

@wouterj
Copy link
Member

wouterj commented Jan 24, 2014

Actually, the complete return is useless. Let's remove it :)

@weaverryan
Copy link
Member

Much better :). Thanks Sarah - cheers!

weaverryan added a commit that referenced this pull request Feb 4, 2014
…mple (saro0h)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3511).

Discussion
----------

[Component-DI] Removed useless else statement in code example

Commits
-------

edca0c7 [Component-DI] Removed useless return
24c4370 [Component-DI] Removed useless else in code example
@weaverryan weaverryan closed this Feb 4, 2014
@saro0h saro0h deleted the container-dependency-injection branch July 11, 2014 11:59
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.

4 participants