Skip to content

Commit 4a07144

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Update argument_value_resolver.rst
2 parents 4cf8b26 + a24d2d4 commit 4a07144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/argument_value_resolver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Symfony ships with the following value resolvers in the
6565
// this allows all values defined in the Enum
6666
'suit' => new EnumRequirement(Suit::class),
6767
// this restricts the possible values to the Enum values listed here
68-
'suit' => new EnumRequirement([Suit::class, Suit::Diamonds, Suit::Spades]),
68+
'suit' => new EnumRequirement([Suit::Diamonds, Suit::Spades]),
6969
])]
7070
public function list(Suit $suit): Response
7171
{

0 commit comments

Comments
 (0)