diff --git a/docs/en/cookbook/mysql-enums.rst b/docs/en/cookbook/mysql-enums.rst index eb88f0a3a..fcc04517b 100644 --- a/docs/en/cookbook/mysql-enums.rst +++ b/docs/en/cookbook/mysql-enums.rst @@ -148,7 +148,7 @@ You can generalize this approach easily to create a base class for enums: protected $name; protected $values = array(); - public function getSqlDeclaration(array $fieldDeclaration, AbstractPlatform $platform) + public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) { $values = array_map(function($val) { return "'".$val."'"; }, $this->values);