Skip to content

Commit 0f09eb0

Browse files
saro0hweaverryan
authored andcommitted
Removed useless else in code example
1 parent 1af6742 commit 0f09eb0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/dependency_injection/tags.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ 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-
}
202+
203+
return;
205204
}
206205
}
207206

0 commit comments

Comments
 (0)