Skip to content
Permalink
Browse files

Use more specific class name

  • Loading branch information...
muglug committed Apr 15, 2019
1 parent 4ef63b5 commit 24084eb2ec44c2eb2063f3924f30d8ab47213070
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Psalm/Internal/Analyzer/ClassAnalyzer.php
@@ -1004,7 +1004,9 @@ function (FunctionLikeParameter $param) {
$error_location = $property_storage->location;
if ($storage->declaring_property_ids[$property_name] !== $fq_class_name) {
$error_location = $storage->location;
$error_location = $this->class->name
? new CodeLocation($this, $this->class->name)
: $storage->location;
}
if ($fq_class_name !== $constructor_appearing_fqcln

0 comments on commit 24084eb

Please sign in to comment.
You can’t perform that action at this time.