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

Commit 063694d

Browse files
committed
Merge branch 'hotfix/initializer'
Close #65
2 parents a5be600 + 831244d commit 063694d

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
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 2.7.2 - TBD
5+
## 2.7.2 - 2016-04-18
66

77
### Added
88

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

1919
### Fixed
2020

21-
- Nothing.
21+
- [#65](https://github.com/zendframework/zend-validator/pull/65) fixes the
22+
`Module::init()` method to properly receive a `ModuleManager` instance, and
23+
not expect a `ModuleEvent`.
2224

2325
## 2.7.1 - 2016-04-06
2426

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 ValidatorManager 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)