[EventDispatcher] Removed unused variable

This commit is contained in:
Vyacheslav Pavlov 2016-07-28 10:50:15 +03:00
parent f9ba34f871
commit 891e2ea17b

View File

@ -128,7 +128,7 @@ abstract class AbstractEventDispatcherTest extends \PHPUnit_Framework_TestCase
public function testLegacyDispatch()
{
$event = new Event();
$return = $this->dispatcher->dispatch(self::preFoo, $event);
$this->dispatcher->dispatch(self::preFoo, $event);
$this->assertEquals('pre.foo', $event->getName());
}