fixes #18313, Fix typo in documentation example

(cherry picked from commit 5a548dfcd8e416525c95e7218777e9cef5f0443e)