Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 6, 2020
1 parent 6988ef3 commit 88f9eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/EventDispatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private function assertListenersEqual(EventDispatcher $dispatcher, array $listen
{
$allListeners = $dispatcher->getAllListeners();

$this->assertInternalType('array', $allListeners);
$this->assertIsArray($allListeners);
$this->assertCount(count($listeners), $allListeners);

foreach ($listeners as $type => $expected) {
Expand Down

0 comments on commit 88f9eab

Please sign in to comment.