diff --git a/components/dependency_injection/tags.rst b/components/dependency_injection/tags.rst index ab523a10a77..500aa1bb3e0 100644 --- a/components/dependency_injection/tags.rst +++ b/components/dependency_injection/tags.rst @@ -211,7 +211,7 @@ To begin with, change the ``TransportChain`` class:: public function getTransport($alias) { if (array_key_exists($alias, $this->transports)) { - return $this->transports[$alias]; + return $this->transports[$alias]; } } }