Skip to content

Commit a16c0bb

Browse files
authored
Merge pull request #164 from ParadoxNL/master
Make the delete body nullable
2 parents cce7ce9 + cf1027d commit a16c0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Picqer/Financials/Moneybird/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function patch($url, $body)
273273
* @return mixed
274274
* @throws ApiException
275275
*/
276-
public function delete($url, $body)
276+
public function delete($url, $body = null)
277277
{
278278
try {
279279
$request = $this->createRequest('DELETE', $this->formatUrl($url, 'delete'), $body);

0 commit comments

Comments
 (0)