Skip to content
Permalink
Browse files

Prevent redundant addType

  • Loading branch information...
muglug committed May 23, 2019
1 parent 56daa39 commit 3fcadb8f4c73279a3b100f0045e81cf2ec434e7d
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/Psalm/Type/Reconciler.php
@@ -2521,8 +2521,6 @@ private static function adjustObjectLikeType(
);
$base_atomic_type->had_mixed_value = true;
$new_base_type->addType($base_atomic_type);
} else {
$base_atomic_type = clone $base_atomic_type;
$base_atomic_type->properties[$array_key_offset] = clone $result_type;

0 comments on commit 3fcadb8

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