Skip to content

Commit 0bdc93b

Browse files
committed
Merge branch 'devel' of https://github.com/arangodb/arangodb-php into devel
2 parents cb2d1b8 + f85a280 commit 0bdc93b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ArangoDBClient/Connection.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,13 @@ public function patch($url, $data, array $customHeaders = [])
289289
*
290290
* @param string $url - DELETE URL
291291
* @param array $customHeaders
292+
* @param string $data - delete body
292293
*
293294
* @return HttpResponse
294295
*/
295-
public function delete($url, array $customHeaders = [])
296+
public function delete($url, array $customHeaders = [], $data = '')
296297
{
297-
$response = $this->executeRequest(HttpHelper::METHOD_DELETE, $url, '', $customHeaders);
298+
$response = $this->executeRequest(HttpHelper::METHOD_DELETE, $url, $data, $customHeaders);
298299

299300
return $this->parseResponse($response);
300301
}

0 commit comments

Comments
 (0)