@@ 118-122 (lines=5) @@ | ||
115 | AclInterface $removeAces = null, |
|
116 | ExtensionDataInterface $extension = null |
|
117 | ) { |
|
118 | if ($folderId === null) { |
|
119 | $url = $this->getRepositoryUrl($repositoryId); |
|
120 | } else { |
|
121 | $url = $this->getObjectUrl($repositoryId, $folderId); |
|
122 | } |
|
123 | ||
124 | // Guzzle gets the mime type for a file by the filename extension. Sometimes the filename does not contain |
|
125 | // the correct filename extension for example when a file is uploaded in php it gets a temporary name without |
|
@@ 203-207 (lines=5) @@ | ||
200 | AclInterface $removeAces = null, |
|
201 | ExtensionDataInterface $extension = null |
|
202 | ) { |
|
203 | if ($folderId === null) { |
|
204 | $url = $this->getRepositoryUrl($repositoryId); |
|
205 | } else { |
|
206 | $url = $this->getObjectUrl($repositoryId, $folderId); |
|
207 | } |
|
208 | ||
209 | $queryArray = array_replace( |
|
210 | array( |
|
@@ 316-320 (lines=5) @@ | ||
313 | AclInterface $removeAces = null, |
|
314 | ExtensionDataInterface $extension = null |
|
315 | ) { |
|
316 | if ($folderId === null) { |
|
317 | $url = $this->getRepositoryUrl($repositoryId); |
|
318 | } else { |
|
319 | $url = $this->getObjectUrl($repositoryId, $folderId); |
|
320 | } |
|
321 | ||
322 | $url->getQuery()->modify( |
|
323 | array( |