diff --git a/controller/argument_value_resolver.rst b/controller/argument_value_resolver.rst
index 5ef2899e403..628fd44de76 100644
--- a/controller/argument_value_resolver.rst
+++ b/controller/argument_value_resolver.rst
@@ -71,7 +71,7 @@ type-hinted method arguments:
.. code-block:: yaml
- # app/config/config.yml
+ # config/packages/sensio_framework_extra.yaml
sensio_framework_extra:
request:
converters: true
@@ -79,6 +79,7 @@ type-hinted method arguments:
.. code-block:: xml
+
diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst
index 579aa1647f4..873ebb3b754 100644
--- a/reference/configuration/security.rst
+++ b/reference/configuration/security.rst
@@ -362,7 +362,7 @@ Using the Argon2i Password Encoder
.. code-block:: yaml
- # app/config/security.yml
+ # config/packages/security.yaml
security:
# ...
@@ -372,7 +372,7 @@ Using the Argon2i Password Encoder
.. code-block:: xml
-
+
loadFromExtension('security', array(