Shouldn't this be array of get_class($type) or something like that? saying just string seems like a pretty inaccurate way of documenting it.