@@ -1844,11 +1844,11 @@ public function testArrayDiffUassoc(): void
1844
1844
$ this ->checkExplicitMixed = true ;
1845
1845
$ this ->analyse ([__DIR__ . '/data/array_diff_uassoc.php ' ], [
1846
1846
[
1847
- 'Parameter #3 $data_comp_func of function array_diff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1847
+ 'Parameter #3 $data_comp_func of function array_diff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1848
1848
22 ,
1849
1849
],
1850
1850
[
1851
- 'Parameter #3 $data_comp_func of function array_diff_uassoc expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1851
+ 'Parameter #3 $data_comp_func of function array_diff_uassoc expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1852
1852
30 ,
1853
1853
],
1854
1854
]);
@@ -1859,11 +1859,11 @@ public function testArrayDiffUkey(): void
1859
1859
$ this ->checkExplicitMixed = true ;
1860
1860
$ this ->analyse ([__DIR__ . '/data/array_diff_ukey.php ' ], [
1861
1861
[
1862
- 'Parameter #3 $key_comp_func of function array_diff_ukey expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1862
+ 'Parameter #3 $key_comp_func of function array_diff_ukey expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1863
1863
22 ,
1864
1864
],
1865
1865
[
1866
- 'Parameter #3 $key_comp_func of function array_diff_ukey expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1866
+ 'Parameter #3 $key_comp_func of function array_diff_ukey expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1867
1867
30 ,
1868
1868
],
1869
1869
]);
@@ -1874,11 +1874,11 @@ public function testArrayIntersectUassoc(): void
1874
1874
$ this ->checkExplicitMixed = true ;
1875
1875
$ this ->analyse ([__DIR__ . '/data/array_intersect_uassoc.php ' ], [
1876
1876
[
1877
- 'Parameter #3 $key_compare_func of function array_intersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1877
+ 'Parameter #3 $key_compare_func of function array_intersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1878
1878
22 ,
1879
1879
],
1880
1880
[
1881
- 'Parameter #3 $key_compare_func of function array_intersect_uassoc expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1881
+ 'Parameter #3 $key_compare_func of function array_intersect_uassoc expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1882
1882
30 ,
1883
1883
],
1884
1884
]);
@@ -1889,11 +1889,11 @@ public function testArrayIntersectUkey(): void
1889
1889
$ this ->checkExplicitMixed = true ;
1890
1890
$ this ->analyse ([__DIR__ . '/data/array_intersect_ukey.php ' ], [
1891
1891
[
1892
- 'Parameter #3 $key_compare_func of function array_intersect_ukey expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1892
+ 'Parameter #3 $key_compare_func of function array_intersect_ukey expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1893
1893
22 ,
1894
1894
],
1895
1895
[
1896
- 'Parameter #3 $key_compare_func of function array_intersect_ukey expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1896
+ 'Parameter #3 $key_compare_func of function array_intersect_ukey expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1897
1897
30 ,
1898
1898
],
1899
1899
]);
@@ -1904,11 +1904,11 @@ public function testArrayUdiffAssoc(): void
1904
1904
$ this ->checkExplicitMixed = true ;
1905
1905
$ this ->analyse ([__DIR__ . '/data/array_udiff_assoc.php ' ], [
1906
1906
[
1907
- 'Parameter #3 $key_comp_func of function array_udiff_assoc expects callable(1|2, 1|2): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1907
+ 'Parameter #3 $key_comp_func of function array_udiff_assoc expects callable(1|2, 1|2): int, Closure(string, string): int<-1, 1> given. ' ,
1908
1908
22 ,
1909
1909
],
1910
1910
[
1911
- 'Parameter #3 $key_comp_func of function array_udiff_assoc expects callable(1|2|3|4|5, 1|2|3|4|5): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1911
+ 'Parameter #3 $key_comp_func of function array_udiff_assoc expects callable(1|2|3|4|5, 1|2|3|4|5): int, Closure(string, string): int<-1, 1> given. ' ,
1912
1912
30 ,
1913
1913
],
1914
1914
]);
@@ -1919,19 +1919,19 @@ public function testArrayUdiffUasssoc(): void
1919
1919
$ this ->checkExplicitMixed = true ;
1920
1920
$ this ->analyse ([__DIR__ . '/data/array_udiff_uassoc.php ' ], [
1921
1921
[
1922
- 'Parameter #3 $data_comp_func of function array_udiff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1922
+ 'Parameter #3 $data_comp_func of function array_udiff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1923
1923
28 ,
1924
1924
],
1925
1925
[
1926
- 'Parameter #4 $key_comp_func of function array_udiff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1926
+ 'Parameter #4 $key_comp_func of function array_udiff_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1927
1927
31 ,
1928
1928
],
1929
1929
[
1930
- 'Parameter #3 $data_comp_func of function array_udiff_uassoc expects callable(1|2|3|4|5, 1|2|3|4|5): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1930
+ 'Parameter #3 $data_comp_func of function array_udiff_uassoc expects callable(1|2|3|4|5, 1|2|3|4|5): int, Closure(string, string): int<-1, 1> given. ' ,
1931
1931
39 ,
1932
1932
],
1933
1933
[
1934
- 'Parameter #4 $key_comp_func of function array_udiff_uassoc expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1934
+ 'Parameter #4 $key_comp_func of function array_udiff_uassoc expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1935
1935
42 ,
1936
1936
],
1937
1937
]);
@@ -1942,11 +1942,11 @@ public function testArrayUintersectAssoc(): void
1942
1942
$ this ->checkExplicitMixed = true ;
1943
1943
$ this ->analyse ([__DIR__ . '/data/array_uintersect_assoc.php ' ], [
1944
1944
[
1945
- 'Parameter #3 $data_compare_func of function array_uintersect_assoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1945
+ 'Parameter #3 $data_compare_func of function array_uintersect_assoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1946
1946
22 ,
1947
1947
],
1948
1948
[
1949
- 'Parameter #3 $data_compare_func of function array_uintersect_assoc expects callable(1|2|3|4, 1|2|3|4): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1949
+ 'Parameter #3 $data_compare_func of function array_uintersect_assoc expects callable(1|2|3|4, 1|2|3|4): int, Closure(string, string): int<-1, 1> given. ' ,
1950
1950
30 ,
1951
1951
],
1952
1952
]);
@@ -1957,19 +1957,19 @@ public function testArrayUintersectUassoc(): void
1957
1957
$ this ->checkExplicitMixed = true ;
1958
1958
$ this ->analyse ([__DIR__ . '/data/array_uintersect_uassoc.php ' ], [
1959
1959
[
1960
- 'Parameter #3 $data_compare_func of function array_uintersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1960
+ 'Parameter #3 $data_compare_func of function array_uintersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1961
1961
28 ,
1962
1962
],
1963
1963
[
1964
- 'Parameter #4 $key_compare_func of function array_uintersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1964
+ 'Parameter #4 $key_compare_func of function array_uintersect_uassoc expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1965
1965
31 ,
1966
1966
],
1967
1967
[
1968
- 'Parameter #3 $data_compare_func of function array_uintersect_uassoc expects callable(1|2|3|4|5, 1|2|3|4|5): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1968
+ 'Parameter #3 $data_compare_func of function array_uintersect_uassoc expects callable(1|2|3|4|5, 1|2|3|4|5): int, Closure(string, string): int<-1, 1> given. ' ,
1969
1969
39 ,
1970
1970
],
1971
1971
[
1972
- 'Parameter #4 $key_compare_func of function array_uintersect_uassoc expects callable(0|1|2|3, 0|1|2|3): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1972
+ 'Parameter #4 $key_compare_func of function array_uintersect_uassoc expects callable(0|1|2|3, 0|1|2|3): int, Closure(string, string): int<-1, 1> given. ' ,
1973
1973
42 ,
1974
1974
],
1975
1975
]);
@@ -1980,11 +1980,11 @@ public function testArrayUintersect(): void
1980
1980
$ this ->checkExplicitMixed = true ;
1981
1981
$ this ->analyse ([__DIR__ . '/data/array_uintersect.php ' ], [
1982
1982
[
1983
- 'Parameter #3 $data_compare_func of function array_uintersect expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int<-1, 1> , Closure(int, int): int<-1, 1> given. ' ,
1983
+ 'Parameter #3 $data_compare_func of function array_uintersect expects callable( \'a \'| \'b \'| \'c \'| \'d \', \'a \'| \'b \'| \'c \'| \'d \'): int, Closure(int, int): int<-1, 1> given. ' ,
1984
1984
22 ,
1985
1985
],
1986
1986
[
1987
- 'Parameter #3 $data_compare_func of function array_uintersect expects callable(1|2|3|4, 1|2|3|4): int<-1, 1> , Closure(string, string): int<-1, 1> given. ' ,
1987
+ 'Parameter #3 $data_compare_func of function array_uintersect expects callable(1|2|3|4, 1|2|3|4): int, Closure(string, string): int<-1, 1> given. ' ,
1988
1988
30 ,
1989
1989
],
1990
1990
]);
0 commit comments