Skip to content

Commit

Permalink
[Component-DI] Removed useless else in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
saro0h committed Jan 24, 2014
1 parent 8bd668e commit 24c4370
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/dependency_injection/tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,8 @@ To begin with, change the ``TransportChain`` class::
if (array_key_exists($alias, $this->transports)) {
return $this->transports[$alias];
}
else {
return;
}

return;
}
}

Expand Down

0 comments on commit 24c4370

Please sign in to comment.