mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: removes unused param
This commit is contained in:
@ -162,7 +162,6 @@ final class TestCaseFactory
|
||||
|
||||
$methodsCode = implode('', array_map(
|
||||
fn (TestCaseMethodFactory $methodFactory): string => $methodFactory->buildForEvaluation(
|
||||
$classFQN,
|
||||
self::ANNOTATIONS,
|
||||
$methodAvailableAttributes
|
||||
),
|
||||
|
||||
@ -115,7 +115,7 @@ final class TestCaseMethodFactory
|
||||
* @param array<int, class-string<AddsAnnotations>> $annotationsToUse
|
||||
* @param array<int, class-string<\Pest\Factories\Attributes\Attribute>> $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.');
|
||||
|
||||
Reference in New Issue
Block a user