Skip to content

Commit 2c22c6e

Browse files
committed
minor #18508 [Validator] Update Unique.rst (gregberger)
This PR was submitted for the 6.3 branch but it was merged into the 6.2 branch instead. Discussion ---------- [Validator] Update Unique.rst Typo in Attribute `fields` code example <!-- 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 ------- 0612308 Update Unique.rst
2 parents 9c8bfc6 + 0612308 commit 2c22c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Unique.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ collection::
120120
121121
class Poi
122122
{
123-
#[Assert\Unique(fields=['latitude', 'longitude'])]
123+
#[Assert\Unique(fields: ['latitude', 'longitude'])]
124124
protected array $coordinates;
125125
}
126126

0 commit comments

Comments
 (0)