1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix dupe key

This commit is contained in:
Brown 2019-11-25 16:00:16 -05:00
parent 5626058eff
commit 0f94bebe4c

View File

@ -644,7 +644,7 @@ class IssetTest extends TestCase
echo isset($port) ? "cool" : "uncool"; echo isset($port) ? "cool" : "uncool";
}', }',
], ],
'listDestructuringErrorSuppress' => [ 'listDestructuringErrorSuppressWithFirstString' => [
'<?php '<?php
function foo(string $s) : string { function foo(string $s) : string {
@list($port, $starboard) = explode(":", $s); @list($port, $starboard) = explode(":", $s);