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

Commit 59c483b

Browse files
committed
Merge branch 'hotfix/initializer'
Close #59
2 parents a7bcb98 + dfff7a4 commit 59c483b

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.8.1 - TBD
5+
## 2.8.1 - 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+
- [#59](https://github.com/zendframework/zend-form/pull/59) fixes the
22+
`Module::init()` method to properly receive a `ModuleManager` instance, and
23+
not expect a `ModuleEvent`.
2224

2325
## 2.8.0 - 2016-04-07
2426

src/Module.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ public function getConfig()
2626
/**
2727
* Register a specification for the FormElementManager with the ServiceListener.
2828
*
29-
* @param \Zend\ModuleManager\ModuleEvent
29+
* @param \Zend\ModuleManager\ModuleManager $moduleManager
3030
* @return void
3131
*/
32-
public function init($event)
32+
public function init($moduleManager)
3333
{
34+
$event = $moduleManager->getEvent();
3435
$container = $event->getParam('ServiceManager');
3536
$serviceListener = $container->get('ServiceListener');
3637

0 commit comments

Comments
 (0)