@@ -117,7 +117,7 @@ public function testMutualExclusion() : void{
117
117
yield from $ mutex ->runClosure (function () use (&$ eventCounter , $ mutex , $ clock ) : Generator {
118
118
self ::assertSame (5 , $ eventCounter ++, "mutex should start next task immediately " );
119
119
self ::assertSame (2 , $ clock ->currentTick (), "mutex should start next task immediately " );
120
- self ::assertFalse ($ mutex ->isIdle (), "mutex should not be idle when lock is acquired concurrently " );;
120
+ self ::assertFalse ($ mutex ->isIdle (), "mutex should not be idle when lock is acquired concurrently " );
121
121
122
122
yield from $ clock ->sleepUntil (4 );
123
123
@@ -135,7 +135,7 @@ public function testMutualExclusion() : void{
135
135
$ clock ->nextTick (2 );
136
136
137
137
self ::assertSame (6 , $ eventCounter ++, "nextTick should resume coroutine " );
138
- self ::assertFalse ($ mutex ->isIdle (), "mutex should not be idle when lock is acquired concurrently " );;
138
+ self ::assertFalse ($ mutex ->isIdle (), "mutex should not be idle when lock is acquired concurrently " );
139
139
140
140
$ clock ->nextTick (3 );
141
141
@@ -145,7 +145,7 @@ public function testMutualExclusion() : void{
145
145
$ clock ->nextTick (4 );
146
146
147
147
self ::assertSame (9 , $ eventCounter ++, "nextTick should resume coroutine " );
148
- self ::assertTrue ($ mutex ->isIdle (), "mutex should be idle when both locks are released " );;
148
+ self ::assertTrue ($ mutex ->isIdle (), "mutex should be idle when both locks are released " );
149
149
}
150
150
151
151
public function testSupportException () : void {
0 commit comments