From c6c7649af37d425ee831e158c4a4990338766b10 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 19 Dec 2023 11:53:41 +0100 Subject: [PATCH] Fixup --- tests/ArrayAssignmentTest.php | 2 +- tests/TypeReconciliation/ConditionalTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ArrayAssignmentTest.php b/tests/ArrayAssignmentTest.php index 6e7aaf7bb20..343b86506b2 100644 --- a/tests/ArrayAssignmentTest.php +++ b/tests/ArrayAssignmentTest.php @@ -1869,7 +1869,7 @@ function with($key): void 'code' => ' $array - * @return non-empty-array + * @return array */ function getArray(array $array): array { if (rand(0, 1)) { diff --git a/tests/TypeReconciliation/ConditionalTest.php b/tests/TypeReconciliation/ConditionalTest.php index c9fcb15706f..460ea919a3c 100644 --- a/tests/TypeReconciliation/ConditionalTest.php +++ b/tests/TypeReconciliation/ConditionalTest.php @@ -1642,7 +1642,7 @@ function foo(string $a, string $b) : void { 'code' => ' $arr - * @return non-empty-array + * @return array */ function foo(array $arr) : array { if (isset($arr["a"])) {