Skip to content

Commit 2207f31

Browse files
authored
Merge pull request #149 from roadrunner-php/hotfix/task-queue-attribute
Fixed AssignWorker attribute reading
2 parents 995a8c4 + bcff203 commit 2207f31

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)