Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'cs/zendframework/zendframework#7180-module-manager-dire…
Browse files Browse the repository at this point in the history
…ct-value-return' into develop

Close zendframework/zendframework#7180
Forward port zendframework/zendframework#7180
  • Loading branch information
Ocramius committed Feb 3, 2015
6 parents 441f1b3 + 7a22a35 + be8972d + 1e9d1d1 + 0175a36 + 8d120f9 commit ebac38f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Listener/ModuleResolverListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function __invoke(ModuleEvent $e)
return false;
}

$module = new $class;
return $module;
return new $class;
}
}

0 comments on commit ebac38f

Please sign in to comment.