Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 658a0f5

Browse filesBrowse files
authored
review changes
1 parent e70dd82 commit 658a0f5
Copy full SHA for 658a0f5

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎components/options_resolver.rst

Copy file name to clipboardExpand all lines: components/options_resolver.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -802,17 +802,17 @@ each configuration using the method
802802
$resolver->define('host')
803803
->required()
804804
->default('smtp.example.org')
805-
->allowedTypes('string')
806-
->define('transport')
805+
->allowedTypes('string');
806+
$resolver->define('transport')
807807
->required()
808808
->default('transport')
809809
->allowedValues(['sendmail', 'mail', 'smtp']);
810810
}
811811
}
812812

813-
.. versionadded:: 4.4
813+
.. versionadded:: 5.1
814814

815-
The ``define()`` method was introduced in Symfony 4.4.
815+
The ``define()`` method was introduced in Symfony 5.1.
816816

817817
Performance Tweaks
818818
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.