This commit is contained in:
2021-01-08 11:51:16 +08:00
parent 93951140d2
commit 8c2f08d7fc
+2 -2
View File
@@ -576,9 +576,9 @@ abstract class ClientAbstracts extends Component implements IClient
/**
* @param $data
* @param $body
* @return array
* @return array|string
*/
protected function resolve($data, $body): array
protected function resolve($data, $body): array|string
{
if (is_array($body)) {
return $body;