Fix typo

an array -> a function