Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade5de0 commit 4ce9ac3Copy full SHA for 4ce9ac3
tests/Symfony/Tests/Component/EventDispatcher/EventDispatcherTest.php
@@ -221,6 +221,7 @@ public function testWorkaroundForPhpBug62976()
221
$dispatcher = new EventDispatcher();
222
$dispatcher->addListener('bug.62976', new CallableClass());
223
$dispatcher->removeListener('bug.62976', function() {});
224
+ $this->assertTrue($dispatcher->hasListeners('bug.62976'));
225
}
226
227
0 commit comments