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