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

Commit 9a00c36

Browse files
committed
Do not nest middleware specs
Found one more place where a middleware spec was nested inside another.
1 parent 07f6a03 commit 9a00c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/migration/rc-to-v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ If you are using the `ApplicationFactory`, alter your configuration:
473473
'routing' => [
474474
'middleware' => [
475475
Zend\Expressive\Container\ApplicationFactory::ROUTING_MIDDLEWARE,
476-
['middleware' => MyObserver::class],
476+
MyObserver::class,
477477
Zend\Expressive\Container\ApplicationFactory::DISPATCH_MIDDLEWARE,
478478
],
479479
'priority' => 1,

0 commit comments

Comments
 (0)