mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix undefined index in AbstractFormatter
This commit is contained in:
parent
d21833daea
commit
4b6efc6631
@ -70,7 +70,7 @@ abstract class AbstractFormatter implements FormatterInterface
|
|||||||
|
|
||||||
$newParams[$newName] = array(
|
$newParams[$newName] = array(
|
||||||
'dataType' => $info['dataType'],
|
'dataType' => $info['dataType'],
|
||||||
'readonly' => $info['readonly'],
|
'readonly' => array_key_exists('readonly', $info) ? $info['readonly'] : null,
|
||||||
'required' => $info['required'],
|
'required' => $info['required'],
|
||||||
'description' => array_key_exists('description', $info) ? $info['description'] : null,
|
'description' => array_key_exists('description', $info) ? $info['description'] : null,
|
||||||
'format' => array_key_exists('format', $info) ? $info['format'] : null,
|
'format' => array_key_exists('format', $info) ? $info['format'] : null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user