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