return_consecutively should keep returning last value when requested

Was failing if called more than n times, where n = count($array_of_values)

Also added some more guidance in the phpdoc

This also deals with the (unlikely) case in which $array_of_values = []