Skip to content

Commit

Permalink
Fixed non-static DataProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
matt committed Feb 23, 2024
1 parent 9554190 commit 549684d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Psalm/UseCollectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testEnterNode(Atomic $type, array $expected): void
self::assertEquals($expected, $actual);
}

public function enterNodeProvider(): array
public static function enterNodeProvider(): array
{
return [
'TTypeAlias' => [new TTypeAlias(self::class, 'TFoo'), [self::class]],
Expand Down

0 comments on commit 549684d

Please sign in to comment.