mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fixup
This commit is contained in:
parent
2fa024e98d
commit
c6c7649af3
@ -1869,7 +1869,7 @@ class ArrayAssignmentTest extends TestCase
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @param array<string, mixed> $array
|
||||
* @return non-empty-array<string, mixed>
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
function getArray(array $array): array {
|
||||
if (rand(0, 1)) {
|
||||
|
@ -1642,7 +1642,7 @@ class ConditionalTest extends TestCase
|
||||
'code' => '<?php
|
||||
/**
|
||||
* @param array<string, int> $arr
|
||||
* @return non-empty-array<string, int>
|
||||
* @return array<string, int>
|
||||
*/
|
||||
function foo(array $arr) : array {
|
||||
if (isset($arr["a"])) {
|
||||
|
Loading…
Reference in New Issue
Block a user