This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 195
Typo in the docbloc #662
Comments
I think it's correct! MiddlewarePipe is a pipeline/queue of middleware. MiddlewarePipe |
yes but the docbloc should say "MiddlewareInterface" because you can also pass some MiddlewareInterface as parameter. |
You're right, I thought it was zend-expressive/src/MiddlewareFactory.php Lines 63 to 67 in 87d4294
|
@ncou You're correct; please submit a patch. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Very nice piece of code. I think there is a small typo in the @param values in the MiddlewareFactory class.
https://github.com/zendframework/zend-expressive/blob/master/src/MiddlewareFactory.php#L128
I think it's "MiddlewareInterface" and not "MiddlewarePipe" for the param value.
If i am right, i can do a PR.
The text was updated successfully, but these errors were encountered: