Skip to content

Commit

Permalink
Remove now obsolete casts
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Jul 6, 2022
1 parent ea9903a commit 8ffab5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Internal/Codebase/Reflection.php
Expand Up @@ -133,9 +133,9 @@ public function registerClass(ReflectionClass $reflected_class): void
$storage->properties[$property_name]->visibility = ClassLikeAnalyzer::VISIBILITY_PRIVATE;
}

$property_id = (string)$class_property->class . '::$' . $property_name;
$property_id = $class_property->class . '::$' . $property_name;

$storage->declaring_property_ids[$property_name] = (string)$class_property->class;
$storage->declaring_property_ids[$property_name] = $class_property->class;
$storage->appearing_property_ids[$property_name] = $property_id;

if (!$class_property->isPrivate()) {
Expand Down

0 comments on commit 8ffab5e

Please sign in to comment.