Skip to content

Commit cff3525

Browse files
committed
minor #20965 [DependencyInjection] Fix a RST syntax issue (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [DependencyInjection] Fix a RST syntax issue Line items cannot contain any space at the beginning. Commits ------- d2ac2ef [DependencyInjection] Fix a RST syntax issue
2 parents 90e7bf9 + d2ac2ef commit cff3525

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

components/dependency_injection.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,16 @@ You can override this behavior as follows::
180180

181181
These are all the possible behaviors:
182182

183-
* ``ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE``: throws an exception
184-
at compile time (this is the **default** behavior);
185-
* ``ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE``: throws an
186-
exception at runtime, when trying to access the missing service;
187-
* ``ContainerInterface::NULL_ON_INVALID_REFERENCE``: returns ``null``;
188-
* ``ContainerInterface::IGNORE_ON_INVALID_REFERENCE``: ignores the wrapping
189-
command asking for the reference (for instance, ignore a setter if the service
190-
does not exist);
191-
* ``ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE``: ignores/returns
192-
``null`` for uninitialized services or invalid references.
183+
* ``ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE``: throws an exception
184+
at compile time (this is the **default** behavior);
185+
* ``ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE``: throws an
186+
exception at runtime, when trying to access the missing service;
187+
* ``ContainerInterface::NULL_ON_INVALID_REFERENCE``: returns ``null``;
188+
* ``ContainerInterface::IGNORE_ON_INVALID_REFERENCE``: ignores the wrapping
189+
command asking for the reference (for instance, ignore a setter if the service
190+
does not exist);
191+
* ``ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE``: ignores/returns
192+
``null`` for uninitialized services or invalid references.
193193

194194
Avoiding your Code Becoming Dependent on the Container
195195
------------------------------------------------------

0 commit comments

Comments
 (0)