Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 19, 2023
1 parent 2fa024e commit c6c7649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ArrayAssignmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,7 @@ function with($key): void
'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)) {
Expand Down
2 changes: 1 addition & 1 deletion tests/TypeReconciliation/ConditionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ function foo(string $a, string $b) : void {
'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"])) {
Expand Down

0 comments on commit c6c7649

Please sign in to comment.