Skip to content

Conversation

hiddewie
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #16332
License MIT
Doc PR symfony/symfony-docs#5834 (if applicable)

@hiddewie
Copy link
Contributor Author

Excuse me, I had overlooked those lines.


case 'Symfony\Component\Validator\Constraints\Language':
return new TypeGuess('language', array(), Guess::HIGH_CONFIDENCE);
return new TypeGuess('Symfony\Component\Form\Extension\Core\Type\LamguageType', array(), Guess::HIGH_CONFIDENCE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Fixed forgotten lines of replacing form types with FQCNs

Fix typos in class names
@@ -48,35 +48,35 @@ public function guessType($class, $property)
$multiple = $metadata->isCollectionValuedAssociation($property);
$mapping = $metadata->getAssociationMapping($property);

return new TypeGuess('entity', array('em' => $name, 'class' => $mapping['targetEntity'], 'multiple' => $multiple), Guess::HIGH_CONFIDENCE);
return new TypeGuess('Symfony\Component\Form\Extension\Core\Type\EntityType', array('em' => $name, 'class' => $mapping['targetEntity'], 'multiple' => $multiple), Guess::HIGH_CONFIDENCE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Symfony\Bridge\Doctrine\Form\Type\EntityType

@Tobion
Copy link
Contributor

Tobion commented Oct 26, 2015

👍

Status: Reviewed

@jakzal
Copy link
Contributor

jakzal commented Oct 26, 2015

👍

@Tobion
Copy link
Contributor

Tobion commented Oct 26, 2015

Thank you @hiddewie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants