From 52e7fd476930d7811642ecc131ddcf05ad0de985 Mon Sep 17 00:00:00 2001 From: MickaelSchimpf <122897940+MickaelSchimpf@users.noreply.github.com> Date: Mon, 14 Aug 2023 13:32:45 +0200 Subject: [PATCH] validation.md: add missing hook docs: add missing hook in validation.md for "Dynamic validation groups" --- core/validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/validation.md b/core/validation.md index 70ccad8bc1c..8f4c1f47120 100644 --- a/core/validation.md +++ b/core/validation.md @@ -208,7 +208,7 @@ use ApiPlatform\Metadata\ApiResource; use Symfony\Component\Validator\Constraints as Assert; #[ApiResource( - validationContext: ['groups' => [Book::class, 'validationGroups'] + validationContext: ['groups' => [Book::class, 'validationGroups']] )] class Book {