@@ -30,7 +30,7 @@ public function doFoo($a, $b, array $c, iterable $d, $e, $f, $g, $h, $i, $j, $k,
30
30
\PHPStan \Testing \assertType ('float ' , $ f );
31
31
32
32
Assertion::numeric ($ g );
33
- \PHPStan \Testing \assertType ('float|int|(string& numeric) ' , $ g );
33
+ \PHPStan \Testing \assertType ('float|int|numeric-string ' , $ g );
34
34
35
35
Assertion::boolean ($ h );
36
36
\PHPStan \Testing \assertType ('bool ' , $ h );
@@ -101,7 +101,7 @@ public function doFoo($a, $b, array $c, iterable $d, $e, $f, $g, $h, $i, $j, $k,
101
101
$ z = [-1 , -2 , -3 ];
102
102
}
103
103
Assertion::allNotSame ($ z , -1 );
104
- \PHPStan \Testing \assertType ('array( 1, -2|2, -3|3) ' , $ z );
104
+ \PHPStan \Testing \assertType ('array{ 1, -2|2, -3|3} ' , $ z );
105
105
106
106
Assertion::subclassOf ($ aa , self ::class);
107
107
\PHPStan \Testing \assertType ('class-string<PHPStan\Type\BeberleiAssert\Foo>|PHPStan\Type\BeberleiAssert\Foo ' , $ aa );
@@ -170,7 +170,7 @@ public function doBaz(array $a): void
170
170
public function doFooBar ($ a ): void
171
171
{
172
172
Assertion::integerish ($ a );
173
- \PHPStan \Testing \assertType ('float|int|(string& numeric) ' , $ a );
173
+ \PHPStan \Testing \assertType ('float|int|numeric-string ' , $ a );
174
174
}
175
175
}
176
176
0 commit comments