[doc] Move class definition to the correct section

In the doc on the `SectionServiceProvider`, the section about validating arrays don't need classes. Their definition is more relevant it the section about validating objects.