@@ -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 " , [
@@ -155,7 +155,7 @@ public function testInvalidSetters($class, $setter, $value)
155155 (new $ class ())->$ setter ($ value );
156156 }
157157
158- public function invalidSettersDataProvider ()
158+ public static function invalidSettersDataProvider ()
159159 {
160160 return [
161161 [TestWrapperSetters::class, "setDoubleValueUnwrapped " , "abc " ],
@@ -212,7 +212,7 @@ public function testConstructorWithWrapperType($class, $wrapperClass, $wrapperFi
212212 $ this ->assertEquals ($ expectedInstance ->$ getter ()->getValue (), $ actualInstance ->$ getter ()->getValue ());
213213 }
214214
215- public function constructorWithWrapperTypeDataProvider ()
215+ public static function constructorWithWrapperTypeDataProvider ()
216216 {
217217 return [
218218 [TestWrapperSetters::class, DoubleValue::class, 'double_value ' , 'getDoubleValue ' , 1.1 ],
@@ -247,7 +247,7 @@ public function testConstructorWithRepeatedWrapperType($wrapperField, $getter, $
247247 $ this ->assertTrue (true );
248248 }
249249
250- public function constructorWithRepeatedWrapperTypeDataProvider ()
250+ public static function constructorWithRepeatedWrapperTypeDataProvider ()
251251 {
252252 $ sv7 = new StringValue (['value ' => 'seven ' ]);
253253 $ sv8 = new StringValue (['value ' => 'eight ' ]);
@@ -292,7 +292,7 @@ public function testConstructorWithMapWrapperType($wrapperField, $getter, $value
292292 $ this ->assertTrue (true );
293293 }
294294
295- public function constructorWithMapWrapperTypeDataProvider ()
295+ public static function constructorWithMapWrapperTypeDataProvider ()
296296 {
297297 $ sv7 = new StringValue (['value ' => 'seven ' ]);
298298 $ sv8 = new StringValue (['value ' => 'eight ' ]);
0 commit comments