@@ -106,7 +106,7 @@ public function testMerge(): void
106
106
}
107
107
108
108
109
- public function providerDataToArray (): array
109
+ public static function providerDataToArray (): array
110
110
{
111
111
$ arrayableClass = new class () implements \Php \Support \Interfaces \Arrayable {
112
112
private $ data = [
@@ -257,8 +257,6 @@ public function jsonSerialize(): mixed
257
257
*
258
258
* @param mixed $items
259
259
* @param $exp
260
- *
261
- * @throws \Php\Support\Exceptions\JsonException
262
260
*/
263
261
public function testDataToArray ($ items , $ exp ): void
264
262
{
@@ -270,7 +268,7 @@ public function testDataToArray($items, $exp): void
270
268
/**
271
269
* @return array
272
270
*/
273
- public function providerToArray (): array
271
+ public static function providerToArray (): array
274
272
{
275
273
$ arrayableClass = new class () implements \Php \Support \Interfaces \Arrayable {
276
274
private $ data = [
@@ -383,8 +381,6 @@ public function jsonSerialize(): mixed
383
381
*
384
382
* @param $items
385
383
* @param $exp
386
- *
387
- * @throws \Php\Support\Exceptions\JsonException
388
384
*/
389
385
public function testToArray ($ items , $ exp ): void
390
386
{
@@ -595,7 +591,7 @@ public function testFromPostgresPoint(): void
595
591
/**
596
592
* @return array
597
593
*/
598
- public function providerRemoveByValue (): array
594
+ public static function providerRemoveByValue (): array
599
595
{
600
596
return [
601
597
[
@@ -756,7 +752,7 @@ public function testRemoveByValue($expArray, $expIdx, $array, $val): void
756
752
/**
757
753
* @return array
758
754
*/
759
- public function providerRemoveByValueAndReindex (): array
755
+ public static function providerRemoveByValueAndReindex (): array
760
756
{
761
757
return [
762
758
[
@@ -919,7 +915,7 @@ public function testRemoveByValueAndReindex($expArray, $expIdx, $array, $val): v
919
915
/**
920
916
* @return array
921
917
*/
922
- public function providerGet (): array
918
+ public static function providerGet (): array
923
919
{
924
920
$ array = [
925
921
'key ' => [
@@ -1030,7 +1026,7 @@ public function testGet($expVal, $array, $key): void
1030
1026
/**
1031
1027
* @return array
1032
1028
*/
1033
- public function providerHas (): array
1029
+ public static function providerHas (): array
1034
1030
{
1035
1031
$ array = [
1036
1032
'key ' => [
@@ -1104,7 +1100,7 @@ public function testHas($expVal, $array, $key): void
1104
1100
/**
1105
1101
* @return array
1106
1102
*/
1107
- public function providerSet (): array
1103
+ public static function providerSet (): array
1108
1104
{
1109
1105
$ array = [];
1110
1106
@@ -1188,7 +1184,7 @@ public function testSet2(): void
1188
1184
/**
1189
1185
* @return array
1190
1186
*/
1191
- public function providerRemove (): array
1187
+ public static function providerRemove (): array
1192
1188
{
1193
1189
$ array = [
1194
1190
'key ' => [
@@ -1267,7 +1263,7 @@ public function testRemove2(): void
1267
1263
/**
1268
1264
* @return array
1269
1265
*/
1270
- public function dataReplaceByTemplate (): array
1266
+ public static function dataReplaceByTemplate (): array
1271
1267
{
1272
1268
return [
1273
1269
[
0 commit comments