adding default key value pair for 'types'

This commit is contained in:
Thomas Müller 2014-12-01 17:35:01 +01:00
parent 1354cee18e
commit 40e03ba314

View file

@ -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) {