Разрешил массивы

This commit is contained in:
Rinsvent 2021-11-05 23:25:31 +07:00
parent d8fd256977
commit f95db5681b

View File

@ -21,7 +21,7 @@ class ResponseListener
$data = $response->getRawData(); $data = $response->getRawData();
if (!is_object($data)) { if (!is_object($data) && !is_iterable($data)) {
$response->setData($data); $response->setData($data);
return; return;
} }