Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[Component-DI] Removed useless else in code example
  • Loading branch information
saro0h committed Jan 24, 2014
commit 24c4370a1ef5f478ac9c7c20d5e421d29dd11e14
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;
}

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

👍

return;
}
}

Expand Down