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:
parent
4191f7a259
commit
d1270a61c7
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user