adding default key value pair for 'types'
This commit is contained in:
parent
1354cee18e
commit
40e03ba314
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ class InfoParser {
|
|||
if (!array_key_exists('public', $array)) {
|
||||
$array['public'] = array();
|
||||
}
|
||||
if (!array_key_exists('types', $array)) {
|
||||
$array['types'] = array();
|
||||
}
|
||||
|
||||
if (array_key_exists('documentation', $array)) {
|
||||
foreach ($array['documentation'] as $key => $url) {
|
||||
|
|
Loading…
Reference in a new issue