Skip to content

Stream::getMetadata() does not handle detached resource #22

Closed
@weierophinney

Description

What must return Stream::getMetadata() if resource is detached?

P.S.:
What should be the level of expectation of the error?
if i use:

$stream->write(function () {});

Do I have to expects an RutimeException?


Originally posted by @easy-system at zendframework/zend-diactoros#168

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions