Skip to content

Commit 5e0bb5f

Browse files
minor symfony#24528 [Translation] minor: remove unused variable in test (dunglas)
This PR was merged into the 2.7 branch. Discussion ---------- [Translation] minor: remove unused variable in test | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | n/a Commits ------- c6ed0e4 [Translation] minor: remove unused variable in test
2 parents da25d44 + c6ed0e4 commit 5e0bb5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Translation/Tests/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TranslatorTest extends TestCase
2525
*/
2626
public function testConstructorInvalidLocale($locale)
2727
{
28-
$translator = new Translator($locale, new MessageSelector());
28+
new Translator($locale, new MessageSelector());
2929
}
3030

3131
/**

0 commit comments

Comments
 (0)