shouldn't this be typehinted as array ?