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

Commit

Permalink
Merge branch 'hotfix/248'
Browse files Browse the repository at this point in the history
Close #248
Fixes #247
  • Loading branch information
weierophinney committed Apr 18, 2018
2 parents bcc5a3c + 1687cf2 commit 061bd4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#248](https://github.com/zendframework/zend-developer-tools/pull/248) fixes dependency configuration within the `Module` class to replace
incorrect class and service name references.

## 1.2.0 - 2018-04-17

Expand Down
8 changes: 4 additions & 4 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function onBootstrap(EventInterface $event)
$profilerListener->attach($em);

if ($options->isToolbarEnabled()) {
$toolbarListener = $sm->get(Listener\ProfilerListener::class);
$toolbarListener = $sm->get(Listener\ToolbarListener::class);
$toolbarListener->attach($em);
}

Expand Down Expand Up @@ -175,16 +175,16 @@ public function getServiceConfig()
'ZendDeveloperTools\StorageListener' => function ($sm) {
return new Listener\StorageListener($sm);
},
'ZendDeveloperTools\ToolbarListener' => function ($sm) {
Listener\ToolbarListener::class => function ($sm) {
return new Listener\ToolbarListener(
$sm->get('ViewRenderer'),
$sm->get('ZendDeveloperTools\Config')
);
},
'ZendDeveloperTools\ProfilerListener' => function ($sm) {
Listener\ProfilerListener::class => function ($sm) {
return new Listener\ProfilerListener($sm, $sm->get('ZendDeveloperTools\Config'));
},
'ZendDeveloperTools\EventLoggingListenerAggregate' => function ($sm) {
Listener\EventLoggingListenerAggregate::class => function ($sm) {
$config = $sm->get('ZendDeveloperTools\Config');

return new Listener\EventLoggingListenerAggregate(
Expand Down

0 comments on commit 061bd4e

Please sign in to comment.