Skip to content

Fixed public function readStream($path)#50

Open
sherryt400 wants to merge 1 commit intojacobcyl:masterfrom
sherryt400:patch-1
Open

Fixed public function readStream($path)#50
sherryt400 wants to merge 1 commit intojacobcyl:masterfrom
sherryt400:patch-1

Conversation

@sherryt400
Copy link

i have fixed public function readStream($path) regarding issue #16

i have fixed `public function readStream($path)` regarding issue jacobcyl#16
Copy link

@dmitryuk dmitryuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge request with mistakes

rewind($result['stream']);
// Ensure the EntityBody object destruction doesn't close the stream
$result['raw_contents']->detachStream();
if (gettype($result['raw_contents']) !== 'resource')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove or flip condition

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants