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.
1 parent 17d74c5 commit 6534255Copy full SHA for 6534255
src/Enum/RoutingRoles.php
@@ -20,11 +20,11 @@
20
* @method static RoutingRoles FOLLOWER()
21
* @method static RoutingRoles ROUTE()
22
*
23
- * @extends TypedEnum<string>
+ * @extends TypedEnum<list<string>>
24
*/
25
final class RoutingRoles extends TypedEnum
26
{
27
- private const LEADER = 'WRITE';
28
- private const FOLLOWER = 'READ';
29
- private const ROUTE = 'ROUTE';
+ private const LEADER = ['WRITE', 'LEADER'];
+ private const FOLLOWER = ['READ', 'FOLLOWER'];
+ private const ROUTE = ['ROUTE'];
30
}
0 commit comments