Created
March 17, 2023 14:39
-
-
Save pilif/0ba367c04781c11e35a82d312468ade4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Psalm/Issue/PropertyIssue.php b/src/Psalm/Issue/PropertyIssue.php | |
index f64cd6cc4..4d0befda1 100644 | |
--- a/src/Psalm/Issue/PropertyIssue.php | |
+++ b/src/Psalm/Issue/PropertyIssue.php | |
@@ -4,6 +4,8 @@ namespace Psalm\Issue; | |
use Psalm\CodeLocation; | |
+use function get_class; | |
+ | |
abstract class PropertyIssue extends CodeIssue | |
{ | |
/** | |
@@ -18,5 +20,6 @@ abstract class PropertyIssue extends CodeIssue | |
) { | |
parent::__construct($message, $code_location); | |
$this->property_id = $property_id; | |
+ $this->dupe_key = get_class($this) . $property_id; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment