We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d889e commit c1c4254Copy full SHA for c1c4254
Tests/Unit/Translator/FallbackTranslatorTest.php
@@ -44,7 +44,7 @@ public function testTranslateWithSubstitutedParameters(): void
44
$symfonyTranslator = $this->getMockBuilder(TranslatorInterface::class)->getMock();
45
46
$translatorService = $this->getMockBuilder(TranslatorService::class)
47
- ->setMethods(['translate'])
+ ->onlyMethods(['translate'])
48
->getMock();
49
$translatorService->method('translate')->willReturnArgument(0);
50
0 commit comments