For #39 fixed as many array phpdocs as a i could