Fix generateHumanReadableTypes

This commit is contained in:
Vitaliy Chesnokov 2019-04-26 17:46:24 +03:00
parent 8a6213cbd2
commit 99b9d4f486
No known key found for this signature in database
GPG Key ID: FD23DF1B48ECC3EB

View File

@ -610,7 +610,7 @@ class ApiDocExtractor
{ {
foreach ($array as $name => $info) { foreach ($array as $name => $info) {
if (empty($info['dataType']) && isset($info['subType'])) { if (empty($info['dataType']) && array_key_exists('subType', $info)) {
$array[$name]['dataType'] = $this->generateHumanReadableType($info['actualType'], $info['subType']); $array[$name]['dataType'] = $this->generateHumanReadableType($info['actualType'], $info['subType']);
} }