Skip to content

Commit 8e1686b

Browse files
Refactor
1 parent f803499 commit 8e1686b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Event/Value/Test/TestDoxBuilder.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ public static function fromTestCase(TestCase $testCase): TestDox
3838
*/
3939
public static function fromClassNameAndMethodName(string $className, string $methodName): TestDox
4040
{
41-
$prettifier = new NamePrettifier;
42-
$prettyMethod = $prettifier->prettifyTestMethodName($methodName);
41+
$prettifier = new NamePrettifier;
42+
43+
$prettifiedMethodName = $prettifier->prettifyTestMethodName($methodName);
4344

4445
return new TestDox(
4546
$prettifier->prettifyTestClassName($className),
46-
$prettyMethod,
47-
$prettyMethod,
47+
$prettifiedMethodName,
48+
$prettifiedMethodName,
4849
);
4950
}
5051
}

0 commit comments

Comments
 (0)