Skip to content

Commit 6534255

Browse files
committed
Changed routing roles to contain multiple values
1 parent 17d74c5 commit 6534255

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Enum/RoutingRoles.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
* @method static RoutingRoles FOLLOWER()
2121
* @method static RoutingRoles ROUTE()
2222
*
23-
* @extends TypedEnum<string>
23+
* @extends TypedEnum<list<string>>
2424
*/
2525
final class RoutingRoles extends TypedEnum
2626
{
27-
private const LEADER = 'WRITE';
28-
private const FOLLOWER = 'READ';
29-
private const ROUTE = 'ROUTE';
27+
private const LEADER = ['WRITE', 'LEADER'];
28+
private const FOLLOWER = ['READ', 'FOLLOWER'];
29+
private const ROUTE = ['ROUTE'];
3030
}

0 commit comments

Comments
 (0)