Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PDOC-53) Handle directives with no types
Parameter directives with no types will have `tag.type` set to nil. We cannot append nil to an array, so instead, place it in the array and flatten the array. If the property is empty the second entry in the array will be nil, as we expect. If the `tag.type` is an array of types we will have and array with the form: [tag.text, type1, type2, type3, ...]
- Loading branch information