Skip to content

Commit 88a692c

Browse files
Fix
1 parent 0596422 commit 88a692c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/PHPStan/Rules/Comparison/data/bug-13628.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
namespace Bug13628;
44

5-
function test(mixed $param): string {
5+
/**
6+
* @param mixed $param
7+
* @return string
8+
*/
9+
function test($param) {
610

711
$a = is_array($param) ? array_filter($param) : $param;
812
if ($a && is_array($a)) {

0 commit comments

Comments
 (0)