[various] Rename ICanHandleHttpResponses->getBody to getBodyString
- Depends on https://github.com/friendica/friendica/pull/13826
This commit is contained in:
parent
4dedd24320
commit
13fd713b66
13 changed files with 26 additions and 26 deletions
|
@ -113,7 +113,7 @@ class WebDav implements ICanWriteToStorage
|
|||
$response = $this->client->request('propfind', $uri, $opts);
|
||||
|
||||
$responseDoc = new \DOMDocument();
|
||||
$responseDoc->loadXML($response->getBody());
|
||||
$responseDoc->loadXML($response->getBodyString());
|
||||
$responseDoc->formatOutput = true;
|
||||
|
||||
$xpath = new \DOMXPath($responseDoc);
|
||||
|
@ -205,7 +205,7 @@ class WebDav implements ICanWriteToStorage
|
|||
throw new ReferenceStorageException(sprintf('Invalid reference %s', $reference));
|
||||
}
|
||||
|
||||
return $response->getBody();
|
||||
return $response->getBodyString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue