File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ The ``TypeGuess`` constructor requires 3 options:
79
79
want to set the ``class `` option). If no types are guessed, this should be
80
80
set to an empty array;
81
81
* The confidence that the guessed type is correct. This can be one of the
82
- constants of the :class: `Symfony\\ Component\\ Form\\ Guess\G uess ` class:
82
+ constants of the :class: `Symfony\\ Component\\ Form\\ Guess\\ Guess ` class:
83
83
``LOW_CONFIDENCE ``, ``MEDIUM_CONFIDENCE ``, ``HIGH_CONFIDENCE ``,
84
84
``VERY_HIGH_CONFIDENCE ``. After all type guessers have been executed, the
85
85
type with the highest confidence is used.
@@ -105,7 +105,7 @@ With this knowledge, you can easily implement the ``guessType`` method of the
105
105
// otherwise, base the type on the @var annotation
106
106
switch ($annotations['var']) {
107
107
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
109
109
// @var string is used
110
110
return new TypeGuess('text', array(), Guess::HIGH_CONFIDENCE);
111
111
You can’t perform that action at this time.
0 commit comments