Update HttpClientInterface.php

This commit is contained in:
Tony Roy 2021-03-12 14:11:59 -04:00 committed by GitHub
commit f88b9b52c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,32 +13,32 @@ interface HttpClientInterface
* @param array $body
* @return mixed
*/
public function get($path, $body = []);
public function get($path="", $body = []);
/**
* @param array $body
* @return mixed
*/
public function post($path, $body = []);
public function post($path="", $body = []);
/**
* @param array $body
* @return mixed
*/
public function put($path, $body = []);
public function put($path="", $body = []);
/**
* @param array $body
* @return mixed
*/
public function delete($path, $body = []);
public function delete($path="", $body = []);
/**
* @param $body
* @param $method
* @return mixed
*/
public function request($path, $body, $method);
public function request($path="", $body, $method);
/**
* @param array $options