Skip to content

Commit

Permalink
add missing phpdoc in new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Dec 13, 2023
1 parent af39782 commit cceb1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/TypeReconciliation/ConditionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -616,7 +617,7 @@ function foo($param, $param2) {
}
}
function takesString(string $arg) {}',
function takesString(string $arg): void {}',
],
'reconcileNullableStringWithWeakEquality' => [
'code' => '<?php
Expand Down

0 comments on commit cceb1fb

Please sign in to comment.