Skip to content

Commit

Permalink
Remove the $data attribute, for delete()
Browse files Browse the repository at this point in the history
The only place delete() is called is in removeItem(), which doesn't require parameters.
  • Loading branch information
assertchris committed May 7, 2019
1 parent c64759f commit b9f689f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Webflow/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ private function put($path, $data)
return $this->request($path, "PUT", $data);
}

private function delete($path, $data)
private function delete($path)
{
return $this->request($path, "DELETE", $data);
return $this->request($path, "DELETE");
}

private function parse($response)
Expand Down

0 comments on commit b9f689f

Please sign in to comment.