Skip to content

Commit 9e4fa49

Browse files
kalessilfabpot
authored andcommitted
Static code analysis with Php Inspections (EA Extended)
1 parent f158ed7 commit 9e4fa49

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/DataCollectorTranslatorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ private function createCollector()
6868
$translator->addResource('array', array('bar' => 'bar (fr)'), 'fr');
6969
$translator->addResource('array', array('bar_ru' => 'bar (ru)'), 'ru');
7070

71-
$collector = new DataCollectorTranslator($translator);
72-
73-
return $collector;
71+
return new DataCollectorTranslator($translator);
7472
}
7573
}

0 commit comments

Comments
 (0)