Skip to content

Commit c838df8

Browse files
committed
minor symfony#3511 [Component-DI] Removed useless else statement in code example (saro0h)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#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
2 parents 1af6742 + 052b0b7 commit c838df8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/dependency_injection/tags.rst

-3
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ To begin with, change the ``TransportChain`` class::
199199
if (array_key_exists($alias, $this->transports)) {
200200
return $this->transports[$alias];
201201
}
202-
else {
203-
return;
204-
}
205202
}
206203
}
207204

0 commit comments

Comments
 (0)