diff --git a/src/Factories/TestCaseFactory.php b/src/Factories/TestCaseFactory.php index cedce46f..9f3dc0ec 100644 --- a/src/Factories/TestCaseFactory.php +++ b/src/Factories/TestCaseFactory.php @@ -162,7 +162,6 @@ final class TestCaseFactory $methodsCode = implode('', array_map( fn (TestCaseMethodFactory $methodFactory): string => $methodFactory->buildForEvaluation( - $classFQN, self::ANNOTATIONS, $methodAvailableAttributes ), diff --git a/src/Factories/TestCaseMethodFactory.php b/src/Factories/TestCaseMethodFactory.php index ef46b841..f75dffa4 100644 --- a/src/Factories/TestCaseMethodFactory.php +++ b/src/Factories/TestCaseMethodFactory.php @@ -115,7 +115,7 @@ final class TestCaseMethodFactory * @param array> $annotationsToUse * @param array> $attributesToUse */ - public function buildForEvaluation(string $classFQN, array $annotationsToUse, array $attributesToUse): string + public function buildForEvaluation(array $annotationsToUse, array $attributesToUse): string { if ($this->description === null) { throw ShouldNotHappen::fromMessage('The test description may not be empty.');