From cceb1fb8c417a218e2c7237432241b4215131565 Mon Sep 17 00:00:00 2001 From: kkmuffme <11071985+kkmuffme@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:10:15 +0100 Subject: [PATCH] add missing phpdoc in new tests --- tests/TypeReconciliation/ConditionalTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TypeReconciliation/ConditionalTest.php b/tests/TypeReconciliation/ConditionalTest.php index c8f3f9ab7bb..99650002db3 100644 --- a/tests/TypeReconciliation/ConditionalTest.php +++ b/tests/TypeReconciliation/ConditionalTest.php @@ -608,6 +608,7 @@ function foo($param, $param2) { /** * @param int|string $param * @param float|string $param2 + * @return void */ function foo($param, $param2) { if ($param === $param2) { @@ -616,7 +617,7 @@ function foo($param, $param2) { } } - function takesString(string $arg) {}', + function takesString(string $arg): void {}', ], 'reconcileNullableStringWithWeakEquality' => [ 'code' => '