From d563eae062522cdc76bd6ce60a2227354534a554 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Mon, 25 Jan 2016 00:22:53 +0100 Subject: [PATCH 1/2] Fix phpdoc --- src/InitializerInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InitializerInterface.php b/src/InitializerInterface.php index a33d7106..7e4c65cf 100644 --- a/src/InitializerInterface.php +++ b/src/InitializerInterface.php @@ -16,11 +16,11 @@ * * If upgrading from v2, take the following steps: * - * - rename the method `initializer()` to `__invoke()`, and: + * - rename the method `initialize()` to `__invoke()`, and: * - rename the `$serviceLocator` argument to `$container`, and change the * typehint to `Interop\Container\ContainerInterface` * - swap the order of the arguments (so that `$instance` comes second) - * - create an `initializer()` method as defined in this interface, and have it + * - create an `initialize()` method as defined in this interface, and have it * proxy to `__invoke()`, passing the arguments in the new order. * * Once you have tested your code, you can then update your class to only implement From b2296d2766e1bef331445784aba911aae4bcb4b4 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Mon, 25 Jan 2016 00:27:40 +0100 Subject: [PATCH 2/2] #82 - adding entry to the changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00af70ca..4fbd2201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ All notable changes to this project will be documented in this file, in reverse - [#78](https://github.com/zendframework/zend-servicemanager/issues/78) [#79](https://github.com/zendframework/zend-servicemanager/pull/79) creation context was not being correctly passed to abstract factories when using plugin managers +- [#82](https://github.com/zendframework/zend-servicemanager/pull/82) corrected migration guide in the DocBlock of + the `InitializerInterface` ## 3.0.1 - 2016-01-19