File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ public function __construct(
20
20
protected MetadataManager $ metadata ,
21
21
protected EventQueue $ queue ,
22
22
protected StateManager $ states ,
23
- ) {
24
- }
23
+ ) {}
25
24
26
25
public function fireIfValid (Event $ event ): ?Event
27
26
{
@@ -78,7 +77,7 @@ public function commit(): bool
78
77
return $ this ->commit ();
79
78
}
80
79
81
- public function replay (callable $ beforeEach = null , callable $ afterEach = null ): void
80
+ public function replay (? callable $ beforeEach = null , ? callable $ afterEach = null ): void
82
81
{
83
82
$ this ->is_replaying = true ;
84
83
Original file line number Diff line number Diff line change @@ -23,12 +23,11 @@ class EventStore implements StoresEvents
23
23
{
24
24
public function __construct (
25
25
protected MetadataManager $ metadata ,
26
- ) {
27
- }
26
+ ) {}
28
27
29
28
public function read (
30
- State $ state = null ,
31
- Bits |UuidInterface |AbstractUid |int |string $ after_id = null ,
29
+ ? State $ state = null ,
30
+ Bits |UuidInterface |AbstractUid |int |string | null $ after_id = null ,
32
31
bool $ singleton = false ,
33
32
): LazyCollection {
34
33
return $ this ->readEvents ($ state , $ after_id , $ singleton )
You can’t perform that action at this time.
0 commit comments