Update AnnotationsBag.php

bug and documentation fixes for ArrayAccess methods