Skip to content

Commit 7a0d2cb

Browse files
committed
Improve logs
1 parent fb990b4 commit 7a0d2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ private function createStorageForFunctionLike(
11341134
}
11351135
}
11361136
} else {
1137-
throw new UnexpectedValueException('Unrecognized functionlike');
1137+
throw new UnexpectedValueException("Unrecognized functionlike of type ".($stmt::class));
11381138
}
11391139

11401140
return [

0 commit comments

Comments
 (0)