diff --git a/docs/en/cookbook/mysql-enums.rst b/docs/en/cookbook/mysql-enums.rst index 69f0a351b..eb88f0a3a 100644 --- a/docs/en/cookbook/mysql-enums.rst +++ b/docs/en/cookbook/mysql-enums.rst @@ -96,7 +96,7 @@ For example for the previous enum type: const STATUS_VISIBLE = 'visible'; const STATUS_INVISIBLE = 'invisible'; - public function getSqlDeclaration(array $fieldDeclaration, AbstractPlatform $platform) + public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) { return "ENUM('visible', 'invisible') COMMENT '(DC2Type:enumvisibility)'"; }