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

Commit 87d4294

Browse files
committed
Merge branch 'hotfix/661'
Close #661
2 parents f55c1e0 + eff8640 commit 87d4294

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/book/v3/features/container/middleware-container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ While the skeleton creates a general
44
[PSR-11](https://www.php-fig.org/psr/psr-11/) container in which to map all of
55
your dependencies, this can pose problems when you are attempting to pull
66
middleware and request handlers; you could potentially, accidentally, pull
7-
something of an entire type entirely, which may not work in either context!
7+
something of a different type entirely, which may not work in either context!
88

99
To prevent this from happening, we provide
1010
`Zend\Expressive\MiddlewareContainer`. It decorates your application container,
@@ -17,7 +17,7 @@ and adds the following behavior:
1717
class that exists.
1818
- decorate PSR-15 `RequestHandlerInterface` implementations using
1919
`Zend\Stratigiliity\RequestHandlerMiddleware`.
20-
- raise an exception of the instance to return is no a PSR-15
20+
- raise an exception if the instance to return is not a PSR-15
2121
`MiddlewareInterface` implementation.
2222

2323
Internally, this class is used by the [MiddlewareFactory](middleware-factory.md)

0 commit comments

Comments
 (0)