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

Conversation

@weierophinney
Copy link
Member

This patch decorates the passed factory arguments to the RequestHandlerRunner constructor in closures that provide return type hints; this ensures that if a value of a different type is returned by either factory, a PHP TypeError will be raised indicating that fact.

This patch decorates the passed factory arguments to the
`RequestHandlerRunner` constructor in closures that provide return type
hints; this ensures that if a value of a different type is returned by
either factory, a PHP `TypeError` will be raised indicating that fact.
@weierophinney weierophinney added the bug Something isn't working label Feb 21, 2018
@weierophinney weierophinney merged commit 9161c9e into zendframework:master Feb 21, 2018
weierophinney added a commit that referenced this pull request Feb 21, 2018
weierophinney added a commit that referenced this pull request Feb 21, 2018
Forward-port #2

Conflicts:
	CHANGELOG.md
@weierophinney weierophinney deleted the feature/type-safety branch February 21, 2018 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant