adding Event to subsplit and fixing phpDoc errors