Skip to content

Commit 4211bff

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.rst Commits ------- d5cd9e8 Fixed link and typo in type_guesser.rst
2 parents 78ae7ec + d5cd9e8 commit 4211bff

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 is a string when
108+
// there is a high confidence that the type is text when
109109
// @var string is used
110110
return new TypeGuess('text', array(), Guess::HIGH_CONFIDENCE);
111111

0 commit comments

Comments
 (0)