Skip to content

Commit d5cd9e8

Browse files
committed
Fixed link and typo in type_guesser.rst
1 parent c788325 commit d5cd9e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/form/type_guesser.rst

+2-2
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)