Fix YARD errors and warnings

[#58198114]