From a6931dedaf55ac7ce71a2deb86f1e16ffd9bac85 Mon Sep 17 00:00:00 2001 From: Wilt Date: Wed, 11 Mar 2015 14:07:04 +0100 Subject: [PATCH] getSqlDeclaration -> getSQLDeclaration Fixed inconsistent use of getSQLDeclaration method --- docs/en/cookbook/mysql-enums.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);