1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Daniil Gentili 2022-12-19 12:09:07 +01:00
parent 4e7ff473a5
commit b691219da5
2 changed files with 4 additions and 3 deletions

View File

@ -66,6 +66,7 @@ use function count;
use function get_class;
use function is_int;
use function is_numeric;
use function is_string;
use function min;
use function strpos;
use function strtolower;

View File

@ -23,7 +23,7 @@ class ArgTest extends TestCase
function ret() {
return [1, 1, 1];
}
'
',
],
'arrayCombine2' => [
'code' => '<?php
@ -37,8 +37,8 @@ class ArgTest extends TestCase
$result = ret();
',
'assertions' => [
'$result===' => 'array{0?: 1, test1?: 0, test2?: 0, ...<int<0, max>, 1>} '
]
'$result===' => 'array{0?: 1, test1?: 0, test2?: 0, ...<int<0, max>, 1>} ',
],
],
'argumentUnpackingLiteral' => [
'code' => '<?php