We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b98f2 commit 999bacfCopy full SHA for 999bacf
src/ObjectStore/v1/Models/Object.php
@@ -115,12 +115,15 @@ public function retrieve()
115
116
public function download(array $data = []): StreamInterface
117
{
118
- $response = $this->execute($this->api->getObject(), $data + ['containerName' => $this->containerName]);
+ $data += ['name' => $this->name, 'containerName' => $this->containerName];
119
+
120
+ /** @var ResponseInterface $response */
121
+ $response = $this->execute($this->api->getObject(), $data);
122
$this->populateHeaders($response);
123
124
return $response->getBody();
125
}
126
-
127
/**
128
* {@inheritdoc}
129
*/
0 commit comments