mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 07:41:43 +03:00
Fix generateHumanReadableTypes
This commit is contained in:
parent
8a6213cbd2
commit
99b9d4f486
@ -610,7 +610,7 @@ class ApiDocExtractor
|
||||
{
|
||||
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']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user