add getType check in ArrayAccess
This commit may be related to the issue of multi-arr in official repo
https://github.com/nddrylliog/rock/issues/775