File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public function testItReturnsNoOrphanedEventsWhenCreated()
182182 {
183183 $ tdispatcher = new TraceableEventDispatcher (new EventDispatcher (), new Stopwatch ());
184184 $ events = $ tdispatcher ->getOrphanedEvents ();
185- $ this ->assertEmpty ( $ events );
185+ $ this ->assertSame ([], $ events );
186186 }
187187
188188 public function testItReturnsOrphanedEventsAfterDispatch ()
@@ -200,7 +200,7 @@ public function testItDoesNotReturnHandledEvents()
200200 $ tdispatcher ->addListener ('foo ' , function () {});
201201 $ tdispatcher ->dispatch (new Event (), 'foo ' );
202202 $ events = $ tdispatcher ->getOrphanedEvents ();
203- $ this ->assertEmpty ( $ events );
203+ $ this ->assertSame ([], $ events );
204204 }
205205
206206 public function testLogger ()
You can’t perform that action at this time.
0 commit comments