Fix array declaration pretty printing

Array information were correctly collected from doxygen but not pretty-printed correctly.