minor #19459 [EventDispatcher] Removed unused variable (zomberg)

This PR was merged into the 2.7 branch.

Discussion
----------

[EventDispatcher] Removed unused variable

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

891e2ea [EventDispatcher] Removed unused variable
This commit is contained in:
Christophe Coevoet 2016-07-28 13:09:20 +02:00
commit 42ea173247

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());
}