Skip to content

Commit 63a23b8

Browse files
committed
minor symfony#17183 [Validation] Add getGroupSequence return hint (mohamedGasmii)
This PR was merged into the 6.0 branch. Discussion ---------- [Validation] Add getGroupSequence return hint <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 83a2d16 [Validation] Add getGroupSequence return hint
2 parents 2cd9ab0 + 83a2d16 commit 63a23b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/sequence_provider.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ method, which should return an array of groups to use::
333333
{
334334
// ...
335335

336-
public function getGroupSequence()
336+
public function getGroupSequence(): array|GroupSequence
337337
{
338338
// when returning a simple array, if there's a violation in any group
339339
// the rest of the groups are not validated. E.g. if 'User' fails,

0 commit comments

Comments
 (0)