Skip to content

Commit a174b60

Browse files
authored
Changed all annotations which only support PHP >= 8.0. (#4669)
1 parent e93ac94 commit a174b60

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Annotation/AsyncQueueMessage.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
1818
class AsyncQueueMessage extends AbstractAnnotation
1919
{
20-
public string $pool = 'default';
21-
22-
public int $delay = 0;
23-
24-
public int $maxAttempts = 0;
20+
public function __construct(
21+
public string $pool = 'default',
22+
public int $delay = 0,
23+
public int $maxAttempts = 0
24+
) {
25+
}
2526
}

0 commit comments

Comments
 (0)