From d8ae33957d5806263b8192538e35a8c5f52668c9 Mon Sep 17 00:00:00 2001 From: Brown Date: Mon, 4 Nov 2019 15:14:07 -0500 Subject: [PATCH] Fix strtolower ref --- src/Psalm/Internal/Analyzer/ClosureAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/ClosureAnalyzer.php b/src/Psalm/Internal/Analyzer/ClosureAnalyzer.php index 472d79b9e..73437a1ee 100644 --- a/src/Psalm/Internal/Analyzer/ClosureAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/ClosureAnalyzer.php @@ -10,7 +10,7 @@ class ClosureAnalyzer extends FunctionLikeAnalyzer { $codebase = $source->getCodebase(); - $function_id = strtolower($source->getFilePath()) + $function_id = \strtolower($source->getFilePath()) . ':' . $function->getLine() . ':' . (int)$function->getAttribute('startFilePos') . ':-:closure';