We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cf8b26 + a24d2d4 commit 4a07144Copy full SHA for 4a07144
controller/argument_value_resolver.rst
@@ -65,7 +65,7 @@ Symfony ships with the following value resolvers in the
65
// this allows all values defined in the Enum
66
'suit' => new EnumRequirement(Suit::class),
67
// this restricts the possible values to the Enum values listed here
68
- 'suit' => new EnumRequirement([Suit::class, Suit::Diamonds, Suit::Spades]),
+ 'suit' => new EnumRequirement([Suit::Diamonds, Suit::Spades]),
69
])]
70
public function list(Suit $suit): Response
71
{
0 commit comments