How does Stan sample correlation matrices?

Thanks for your response!

From this post (here) it looks like the Stan math library implements a different method than that given in the user guide - is this still the case now? shouldn’t the user guide match/be up at date with the method Stan uses? apparently they result in different correlation matrices