Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65e268e

Browse files
committedApr 4, 2025
make data providers static
1 parent ed6620d commit 65e268e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎Tests/Tokenizer/JsonPathTokenizerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testSimplePath(string $path, array $expectedTokens)
3434
}
3535
}
3636

37-
public function simplePathProvider(): array
37+
public static function simplePathProvider(): array
3838
{
3939
return [
4040
'root only' => [
@@ -77,7 +77,7 @@ public function testBracketNotation(string $path, array $expectedTokens)
7777
}
7878
}
7979

80-
public function bracketNotationProvider(): array
80+
public static function bracketNotationProvider(): array
8181
{
8282
return [
8383
'bracket with quotes' => [
@@ -117,7 +117,7 @@ public function testFilterExpressions(string $path, array $expectedTokens)
117117
}
118118
}
119119

120-
public function filterExpressionProvider(): array
120+
public static function filterExpressionProvider(): array
121121
{
122122
return [
123123
'simple filter' => [
@@ -162,7 +162,7 @@ public function testComplexPaths(string $path, array $expectedTokens)
162162
}
163163
}
164164

165-
public function complexPathProvider(): array
165+
public static function complexPathProvider(): array
166166
{
167167
return [
168168
'mixed with recursive' => [

0 commit comments

Comments
 (0)
Please sign in to comment.