Fix example code of `EachValidator` [ci skip]

We have to specify the `:title` option to really use the
`TitleValidator` defined above.
Merge pull request #16319 from Domon/fix-each-validator-example

Fix example code of EachValidator [ci skip]