Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit4211bff

Browse files
committed
minor#3852 Fixed link and typo in type_guesser.rst (rpg600)
This PR was merged into the 2.3 branch.Discussion----------Fixed link and typo in type_guesser.rstCommits-------d5cd9e8 Fixed link and typo in type_guesser.rst
2 parents78ae7ec +d5cd9e8 commit4211bff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎components/form/type_guesser.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The ``TypeGuess`` constructor requires 3 options:
7979
want to set the ``class`` option). If no types are guessed, this should be
8080
set to an empty array;
8181
* The confidence that the guessed type is correct. This can be one of the
82-
constants of the:class:`Symfony\\Component\\Form\\Guess\Guess` class:
82+
constants of the:class:`Symfony\\Component\\Form\\Guess\\Guess` class:
8383
``LOW_CONFIDENCE``, ``MEDIUM_CONFIDENCE``, ``HIGH_CONFIDENCE``,
8484
``VERY_HIGH_CONFIDENCE``. After all type guessers have been executed, the
8585
type with the highest confidence is used.
@@ -105,7 +105,7 @@ With this knowledge, you can easily implement the ``guessType`` method of the
105105
// otherwise, base the type on the @var annotation
106106
switch ($annotations['var']) {
107107
case 'string':
108-
// there is a high confidence that the type isa string when
108+
// there is a high confidence that the type istext when
109109
// @var string is used
110110
return new TypeGuess('text', array(), Guess::HIGH_CONFIDENCE);
111111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp