This commit is contained in:
2021-05-06 10:49:25 +08:00
parent e9efc14df5
commit bc1c72e4f6
4 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ class Curl extends ClientAbstracts
* @param $method
* @param $path
* @param array $params
* @return Result|bool|array|string
* @return Result|array|string
* @throws Exception
*/
public function request($method, $path, $params = []): Result|bool|array|string
public function request($method, $path, $params = []): Result|array|string
{
if ($method == self::GET) {
$path = $this->joinGetParams($path, $params);