@@ -57,7 +57,7 @@ public function testGettersAndSetters(
5757 }
5858 }
5959
60- public function gettersAndSettersDataProvider ()
60+ public static function gettersAndSettersDataProvider ()
6161 {
6262 return [
6363 [TestWrapperSetters::class, DoubleValue::class, "setDoubleValue " , "setDoubleValueUnwrapped " , "getDoubleValue " , "getDoubleValueUnwrapped " , [
@@ -172,7 +172,7 @@ public function testInvalidSetters($setter, $value)
172172 (new TestWrapperSetters ())->$ setter ($ value );
173173 }
174174
175- public function invalidSettersDataProvider ()
175+ public static function invalidSettersDataProvider ()
176176 {
177177 return [
178178 ["setDoubleValueUnwrapped " , "abc " ],
@@ -224,7 +224,7 @@ public function testConstructorWithWrapperType($class, $wrapperClass, $wrapperFi
224224 $ this ->assertEquals ($ expectedInstance ->$ getter ()->getValue (), $ actualInstance ->$ getter ()->getValue ());
225225 }
226226
227- public function constructorWithWrapperTypeDataProvider ()
227+ public static function constructorWithWrapperTypeDataProvider ()
228228 {
229229 return [
230230 [TestWrapperSetters::class, DoubleValue::class, 'double_value ' , 'getDoubleValue ' , 1.1 ],
@@ -259,7 +259,7 @@ public function testConstructorWithRepeatedWrapperType($wrapperField, $getter, $
259259 $ this ->assertTrue (true );
260260 }
261261
262- public function constructorWithRepeatedWrapperTypeDataProvider ()
262+ public static function constructorWithRepeatedWrapperTypeDataProvider ()
263263 {
264264 $ sv7 = new StringValue (['value ' => 'seven ' ]);
265265 $ sv8 = new StringValue (['value ' => 'eight ' ]);
@@ -304,7 +304,7 @@ public function testConstructorWithMapWrapperType($wrapperField, $getter, $value
304304 $ this ->assertTrue (true );
305305 }
306306
307- public function constructorWithMapWrapperTypeDataProvider ()
307+ public static function constructorWithMapWrapperTypeDataProvider ()
308308 {
309309 $ sv7 = new StringValue (['value ' => 'seven ' ]);
310310 $ sv8 = new StringValue (['value ' => 'eight ' ]);
0 commit comments