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

Commit 42437ff

Browse files
committed
Merge branch 'hotfix/initializer' into develop
Forward port #27
2 parents 43cb077 + 5cb8a0c commit 42437ff

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ All notable changes to this project will be documented in this file, in reverse
2020

2121
- Nothing.
2222

23-
## 2.7.1 - TBD
23+
## 2.7.1 - 2016-04-18
2424

2525
### Added
2626

@@ -36,7 +36,9 @@ All notable changes to this project will be documented in this file, in reverse
3636

3737
### Fixed
3838

39-
- Nothing.
39+
- [#27](https://github.com/zendframework/zend-filter/pull/27) fixes the
40+
`Module::init()` method to properly receive a `ModuleManager` instance, and
41+
not expect a `ModuleEvent`.
4042

4143
## 2.7.0 - 2016-04-06
4244

src/Module.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ public function getConfig()
2424
/**
2525
* Register a specification for the FilterManager with the ServiceListener.
2626
*
27-
* @param \Zend\ModuleManager\ModuleEvent
27+
* @param \Zend\ModuleManager\ModuleManager $moduleManager
2828
* @return void
2929
*/
30-
public function init($event)
30+
public function init($moduleManager)
3131
{
32+
$event = $moduleManager->getEvent();
3233
$container = $event->getParam('ServiceManager');
3334
$serviceListener = $container->get('ServiceListener');
3435

0 commit comments

Comments
 (0)