1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Suppress MixedAssignment again

This commit is contained in:
Matthew Brown 2020-04-05 01:04:52 -04:00
parent 4191f7a259
commit d1270a61c7

View File

@ -1891,6 +1891,7 @@ class ClassTemplateTest extends TestCase
public function __construct() {
$this->FooArray = new Foo(function(string $s): array {
/** @psalm-suppress MixedAssignment */
$json = \json_decode($s, true);
if (! \is_array($json)) {