Skip to content

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

Closed
@weierophinney

Description

@weierophinney

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions