mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Cleanup
This commit is contained in:
parent
ab3a17b7b0
commit
1a4656564a
@ -287,12 +287,12 @@ class TypeAlgebraTest extends TestCase
|
||||
$arr = [];
|
||||
|
||||
foreach ([0, 1, 2, 3] as $i) {
|
||||
$a = rand(0, 1) ? 5 : "010";
|
||||
$a = (int) (rand(0, 1) ? 5 : "010");
|
||||
|
||||
if (!isset($arr[(int) $a])) {
|
||||
$arr[(int) $a] = 5;
|
||||
if (!isset($arr[$a])) {
|
||||
$arr[$a] = 5;
|
||||
} else {
|
||||
$arr[(int) $a] += 4;
|
||||
$arr[$a] += 4;
|
||||
}
|
||||
}',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user