Update HttpClientInterface.php
This commit is contained in:
parent
69b58b646e
commit
f88b9b52c6
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue