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 2023-12-19 11:53:41 +01:00
parent 2fa024e98d
commit c6c7649af3
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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"])) {