diff --git a/components/dependency_injection/tags.rst b/components/dependency_injection/tags.rst index 16ba0f4ff61..2e96926b365 100644 --- a/components/dependency_injection/tags.rst +++ b/components/dependency_injection/tags.rst @@ -199,9 +199,6 @@ To begin with, change the ``TransportChain`` class:: if (array_key_exists($alias, $this->transports)) { return $this->transports[$alias]; } - else { - return; - } } }