Issues (135)

src/Saga/Attribute/SagaEventSubscriber.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gember\EventSourcing\Saga\Attribute;
6
7
use Gember\EventSourcing\Common\CreationPolicy;
8
use Attribute;
9
10
#[Attribute(Attribute::TARGET_METHOD)]
11
final readonly class SagaEventSubscriber
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_READONLY, expecting T_CLASS on line 11 at column 6
Loading history...
12
{
13 10
    public function __construct(
14
        public CreationPolicy $policy = CreationPolicy::Never,
15 10
    ) {}
16
}
17