Skip to content

Commit

Permalink
static
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 17, 2023
1 parent 76d8a0f commit 268c3ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function test(string $filePath, string $expectedClassName): void
$this->assertSame($expectedClassName, $resolvedClassName);
}

public function provideData(): Iterator
public static function provideData(): Iterator
{
yield [__DIR__ . '/Fixture/SomeClass.php', SomeClass::class];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function test(array $filePaths, array $expectedClassUsages): void
$this->assertSame($expectedClassUsages, $resolvedClassUsages);
}

public function provideData(): Iterator
public static function provideData(): Iterator
{
yield [[__DIR__ . '/Fixture/FileUsingOtherClasses.php'], [FirstUsedClass::class, SecondUsedClass::class]];
}
Expand Down

0 comments on commit 268c3ce

Please sign in to comment.