Skip to content

Commit 5144bf3

Browse files
Fix - Add missing redirect & redirect arguments (#1045)
| Q | A | --------------- | ----- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT
2 parents 19f758a + 9e873f8 commit 5144bf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Component/src/Metadata/ApplyStateMachineTransition.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __construct(
3232
string|callable|null $responder = null,
3333
string|callable|null $repository = null,
3434
?string $repositoryMethod = null,
35+
?array $repositoryArguments = null,
3536
?bool $read = null,
3637
?bool $write = null,
3738
?bool $validate = null,
@@ -42,6 +43,7 @@ public function __construct(
4243
string|\Stringable|null $security = null,
4344
?string $securityMessage = null,
4445
?string $redirectToRoute = null,
46+
?array $redirectArguments = null,
4547
private ?string $stateMachineComponent = null,
4648
private ?string $stateMachineTransition = null,
4749
private ?string $stateMachineGraph = null,
@@ -59,6 +61,7 @@ public function __construct(
5961
responder: $responder,
6062
repository: $repository,
6163
repositoryMethod: $repositoryMethod,
64+
repositoryArguments: $repositoryArguments,
6265
read: $read,
6366
write: $write,
6467
validate: $validate ?? false,
@@ -69,6 +72,7 @@ public function __construct(
6972
security: $security,
7073
securityMessage: $securityMessage,
7174
redirectToRoute: $redirectToRoute,
75+
redirectArguments: $redirectArguments,
7276
);
7377
}
7478

0 commit comments

Comments
 (0)