Skip to content

Commit 992282c

Browse files
committed
feat: Add NamedArgumentConstructor to AssignWorker attribute
1 parent 7f4a304 commit 992282c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Temporal/Attribute/AssignWorker.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
namespace Spiral\RoadRunnerLaravel\Temporal\Attribute;
66

7-
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
7+
use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;
8+
9+
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE), NamedArgumentConstructor]
810
final readonly class AssignWorker
911
{
1012
/**

0 commit comments

Comments
 (0)