From 975f3c460029a714661370ec3714a883c5e3360c Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Sun, 1 Apr 2012 02:59:03 +0200 Subject: [PATCH] Fixes autoloading of generated Annotations --- lib/Doctrine/ORM/Tools/EntityGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index 448ff6869..82ab5fe56 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -832,7 +832,7 @@ public function () $this->_staticReflection[$metadata->name]['methods'][] = $methodName; $replacements = array( - '' => $this->_annotationsPrefix . $name, + '' => $this->_annotationsPrefix . ucfirst($name), '' => $methodName, );