Skip to content
Browse files

Fixing wrong class name causing fatal

  • Loading branch information...
1 parent dfcd4b2 commit 836806f91af1872ea467ace3f40fd88de627a855 @Ocramius committed May 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Module.php
View
6 Module.php
@@ -49,9 +49,9 @@ public function init(Manager $moduleManager)
}
/**
- * Registers
+ * Registers annotations required for the Doctrine AnnotationReader
*
- * @param ModuleEvent $e
+ * @param ModuleEvent $e
* @throws RuntimeException
*/
public function registerAnnotations(ModuleEvent $e)
@@ -94,7 +94,7 @@ public function getAutoloaderConfig()
if (realpath(__DIR__ . '/vendor/doctrine-orm/lib')) {
return array(
'Zend\Loader\StandardAutoloader' => array(
- Zend\Loader\StandardAutoloader::LOAD_NS => array(
+ StandardAutoloader::LOAD_NS => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
__NAMESPACE__ . 'Test' => __DIR__ . '/tests/' . __NAMESPACE__ . 'Test',
'Doctrine\ORM' => __DIR__ . '/vendor/doctrine-orm/lib/Doctrine/ORM',

0 comments on commit 836806f

Please sign in to comment.
Something went wrong with that request. Please try again.