1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove unnecessary test

This commit is contained in:
Matthew Brown 2020-03-04 23:55:38 -05:00
parent 105fe012c4
commit 0644f5ab3a

View File

@ -1416,24 +1416,6 @@ class UnusedVariableTest extends TestCase
echo implode(",", $p);
}'
],
'ternaryUse' => [
'<?php
class C {
function b(string $p): string {
return $p;
}
}
/** @return mixed */
function func() {
return new C();
}
function main(): void {
$a = true;
func()->b($a ? "5" : "6");
}'
],
];
}