From 83a2d1644b0fdde680a111ad394358a9c6cc91f2 Mon Sep 17 00:00:00 2001 From: mohamed gasmi Date: Mon, 15 Aug 2022 16:30:20 +0200 Subject: [PATCH] [Validation] Add getGroupSequence return hint --- validation/sequence_provider.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/sequence_provider.rst b/validation/sequence_provider.rst index f519d16c68a..fb196a3b6e9 100644 --- a/validation/sequence_provider.rst +++ b/validation/sequence_provider.rst @@ -333,7 +333,7 @@ method, which should return an array of groups to use:: { // ... - public function getGroupSequence() + public function getGroupSequence(): array|GroupSequence { // when returning a simple array, if there's a violation in any group // the rest of the groups are not validated. E.g. if 'User' fails,