-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream::getMetadata() does not handle detached resource #22
Labels
Comments
Xerkus
changed the title
Stream::getMetadata()
Stream::getMetadata() does not handle detached resource
May 2, 2023
On detached resource |
@Xerkus as per PSR-7, |
@boesing you are right. It should be empty array. I misread the docblock. Null is only expected when specific key is not found. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What must return Stream::getMetadata() if resource is detached?
P.S.:
What should be the level of expectation of the error?
if i use:
Do I have to expects an RutimeException?
Originally posted by @easy-system at zendframework/zend-diactoros#168
The text was updated successfully, but these errors were encountered: