missing phpdoc for $throwExceptionOnInvalidIndex