Corrected phpdoc return types of first/last_index_of