Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42ea173

Browse files
committed
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
2 parents a8a9923 + 891e2ea commit 42ea173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function testDispatch()
128128
public function testLegacyDispatch()
129129
{
130130
$event = new Event();
131-
$return = $this->dispatcher->dispatch(self::preFoo, $event);
131+
$this->dispatcher->dispatch(self::preFoo, $event);
132132
$this->assertEquals('pre.foo', $event->getName());
133133
}
134134

0 commit comments

Comments
 (0)