Permalink
Browse files

Merge pull request #316 from fixe/patch-1

Fixes autoloading of generated Annotations
  • Loading branch information...
2 parents c02ac65 + 975f3c4 commit 193ac077d68f9ec24603f6f867c8fcca5a75424e @beberlei beberlei committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/ORM/Tools/EntityGenerator.php
@@ -832,7 +832,7 @@ private function _generateLifecycleCallbackMethod($name, $methodName, $metadata)
$this->_staticReflection[$metadata->name]['methods'][] = $methodName;
$replacements = array(
- '<name>' => $this->_annotationsPrefix . $name,
+ '<name>' => $this->_annotationsPrefix . ucfirst($name),
'<methodName>' => $methodName,
);

0 comments on commit 193ac07

Please sign in to comment.