diff --git a/src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php b/src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php index 3004060d0..091e13a3e 100644 --- a/src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php +++ b/src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php @@ -45,6 +45,7 @@ final class FunctionDocblockManipulator private static array $manipulators = []; private readonly int $docblock_start; + private Closure|Function_|ClassMethod|ArrowFunction $stmt; private readonly int $docblock_end;