@@ -20,43 +20,43 @@ public function testFile(): void
20
20
{
21
21
$ expectedErrors = [
22
22
[
23
- 'Parameter #1 $array (array{1, 3}) to function array_filter cannot contain empty values, call has no effect . ' ,
23
+ 'Parameter #1 $array (array{1, 3}) to function array_filter does not contain falsy values, the array will always stay the same . ' ,
24
24
11 ,
25
25
],
26
26
[
27
- 'Parameter #1 $array (array{ \'test \'}) to function array_filter cannot contain empty values, call has no effect . ' ,
27
+ 'Parameter #1 $array (array{ \'test \'}) to function array_filter does not contain falsy values, the array will always stay the same . ' ,
28
28
12 ,
29
29
],
30
30
[
31
- 'Parameter #1 $array (array{true, true}) to function array_filter cannot contain empty values, call has no effect . ' ,
31
+ 'Parameter #1 $array (array{true, true}) to function array_filter does not contain falsy values, the array will always stay the same . ' ,
32
32
17 ,
33
33
],
34
34
[
35
- 'Parameter #1 $array (array{stdClass}) to function array_filter cannot contain empty values, call has no effect . ' ,
35
+ 'Parameter #1 $array (array{stdClass}) to function array_filter does not contain falsy values, the array will always stay the same . ' ,
36
36
18 ,
37
37
],
38
38
[
39
- 'Parameter #1 $array (array<stdClass>) to function array_filter cannot contain empty values, call has no effect . ' ,
39
+ 'Parameter #1 $array (array<stdClass>) to function array_filter does not contain falsy values, the array will always stay the same . ' ,
40
40
20 ,
41
41
],
42
42
[
43
- 'Parameter #1 $array (array{0}) to function array_filter can only contain empty values, call always results in [] . ' ,
43
+ 'Parameter #1 $array (array{0}) to function array_filter contains falsy values only, the result will always be an empty array . ' ,
44
44
23 ,
45
45
],
46
46
[
47
- 'Parameter #1 $array (array{null}) to function array_filter can only contain empty values, call always results in [] . ' ,
47
+ 'Parameter #1 $array (array{null}) to function array_filter contains falsy values only, the result will always be an empty array . ' ,
48
48
24 ,
49
49
],
50
50
[
51
- 'Parameter #1 $array (array{null, null}) to function array_filter can only contain empty values, call always results in [] . ' ,
51
+ 'Parameter #1 $array (array{null, null}) to function array_filter contains falsy values only, the result will always be an empty array . ' ,
52
52
25 ,
53
53
],
54
54
[
55
- 'Parameter #1 $array (array{null, 0}) to function array_filter can only contain empty values, call always results in [] . ' ,
55
+ 'Parameter #1 $array (array{null, 0}) to function array_filter contains falsy values only, the result will always be an empty array . ' ,
56
56
26 ,
57
57
],
58
58
[
59
- 'Parameter #1 $array (array<false|null>) to function array_filter can only contain empty values, call always results in [] . ' ,
59
+ 'Parameter #1 $array (array<false|null>) to function array_filter contains falsy values only, the result will always be an empty array . ' ,
60
60
27 ,
61
61
],
62
62
[
0 commit comments