@@ -37,7 +37,7 @@ public function testFromString($string, array $items)
3737 $ this ->assertEquals ($ items , $ parsed );
3838 }
3939
40- public function provideFromStringData ()
40+ public static function provideFromStringData ()
4141 {
4242 return [
4343 ['' , []],
@@ -57,7 +57,7 @@ public function testToString(array $items, $string)
5757 $ this ->assertEquals ($ string , (string ) $ header );
5858 }
5959
60- public function provideToStringData ()
60+ public static function provideToStringData ()
6161 {
6262 return [
6363 [[], '' ],
@@ -76,7 +76,7 @@ public function testFilter($string, $filter, array $values)
7676 $ this ->assertEquals ($ values , array_keys ($ header ->all ()));
7777 }
7878
79- public function provideFilterData ()
79+ public static function provideFilterData ()
8080 {
8181 return [
8282 ['fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4 ' , '/fr.*/ ' , ['fr-FR ' , 'fr ' ]],
@@ -92,7 +92,7 @@ public function testSorting($string, array $values)
9292 $ this ->assertEquals ($ values , array_keys ($ header ->all ()));
9393 }
9494
95- public function provideSortingData ()
95+ public static function provideSortingData ()
9696 {
9797 return [
9898 'quality has priority ' => ['*;q=0.3,ISO-8859-1,utf-8;q=0.7 ' , ['ISO-8859-1 ' , 'utf-8 ' , '* ' ]],
@@ -110,7 +110,7 @@ public function testDefaultValue($acceptHeader, $value, $expectedQuality)
110110 $ this ->assertSame ($ expectedQuality , $ header ->get ($ value )->getQuality ());
111111 }
112112
113- public function provideDefaultValueData ()
113+ public static function provideDefaultValueData ()
114114 {
115115 yield ['text/plain;q=0.5, text/html, text/x-dvi;q=0.8, *;q=0.3 ' , 'text/xml ' , 0.3 ];
116116 yield ['text/plain;q=0.5, text/html, text/x-dvi;q=0.8, */*;q=0.3 ' , 'text/xml ' , 0.3 ];
0 commit comments