diff --git a/docs/en/cookbook/advanced-field-value-conversion-using-custom-mapping-types.rst b/docs/en/cookbook/advanced-field-value-conversion-using-custom-mapping-types.rst index bc24cd308..e3884915c 100644 --- a/docs/en/cookbook/advanced-field-value-conversion-using-custom-mapping-types.rst +++ b/docs/en/cookbook/advanced-field-value-conversion-using-custom-mapping-types.rst @@ -232,7 +232,7 @@ Example usage // Setup custom mapping type use Doctrine\DBAL\Types\Type; - Type::addType('point', 'Geo\Types\Point'); + Type::addType('point', 'Geo\Types\PointType'); $em->getConnection()->getDatabasePlatform()->registerDoctrineTypeMapping('point', 'point'); // Store a Location object