laminas / laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines
https://docs.laminas.dev/laminas-stratigility/
BSD 3-Clause "New" or "Revised" License
55 stars 12 forks source link

Update creating-middleware.md #4

Closed weierophinney closed 1 year ago

weierophinney commented 4 years ago

Fixed a typo in $handler invocation in the documentation for creating-middleware.md


Originally posted by @tworzenieweb at https://github.com/zendframework/zend-stratigility/pull/188

weierophinney commented 4 years ago

handler is an instance of a handler interface and not callable itself, so handle() method should be called on it


Originally posted by @Xerkus at https://github.com/zendframework/zend-stratigility/pull/188#issuecomment-504632082

weierophinney commented 1 year ago

Closing; this looks like it was supposed to be a patch, but it's been reported as an issue. (discrepancy likely due to transition from old organizations).