Skip to content

Commit

Permalink
minor #3511 [Component-DI] Removed useless else statement in code exa…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
weaverryan committed Feb 4, 2014
2 parents 1af6742 + 052b0b7 commit c838df8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/dependency_injection/tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ To begin with, change the ``TransportChain`` class::
if (array_key_exists($alias, $this->transports)) {
return $this->transports[$alias];
}
else {
return;
}
}
}

Expand Down

0 comments on commit c838df8

Please sign in to comment.