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

Commit ae489fb

Browse files
committed
Merge branch 'hotfix/268'
Close #268
2 parents 167f9cc + b8c2274 commit ae489fb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Initial stable release.
88

99
### Added
1010

11-
- Everything.
11+
- Nothing.
1212

1313
### Deprecated
1414

@@ -20,7 +20,9 @@ Initial stable release.
2020

2121
### Fixed
2222

23-
- Nothing.
23+
- [#268](https://github.com/zendframework/zend-expressive/pull/268) fixes the
24+
Pimple example within the `ServerUrlHelper` chapter of the documentation to
25+
use the Pimple v3 API instead of the v1 API.
2426

2527
## 1.0.0rc6 - 2016-01-18
2628

doc/book/helpers/server-url-helper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ $services->setFactory(ServerUrlMiddleware::class, ServerUrlMiddlewareFactory::cl
6565
$pimple[ServerUrlHelper::class] = function ($container) {
6666
return new ServerUrlHelper();
6767
};
68-
$pimple[ServerUrlMiddleware::class] = $pimple->share(function ($container) {
68+
$pimple[ServerUrlMiddleware::class] = function ($container) {
6969
$factory = new ServerUrlMiddlewareFactory();
7070
return $factory($container);
71-
});
71+
};
7272

7373
// Aura.Di:
7474
$container->set(ServerUrlHelper::class, $container->lazyNew(ServerUrlHelper::class));

0 commit comments

Comments
 (0)