Skip to content

Commit 3a0fc13

Browse files
committed
feat: added http patch method
1 parent 13f0da3 commit 3a0fc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Client/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct($config = [])
4747

4848
public function __call($method, $params)
4949
{
50-
if (\in_array($method, ['post', 'get', 'put', 'delete', 'head', 'option'])) {
50+
if (\in_array($method, ['post', 'get', 'put','patch', 'delete', 'head', 'option'])) {
5151
$this->_method = $method;
5252
$url = $this->_baseUri . $params[0];
5353
$query = http_build_query($this->getQueryParams());

0 commit comments

Comments
 (0)