Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 14, 2022
1 parent d027d15 commit a4e4522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Atomic/TNamedObject.php
Expand Up @@ -66,7 +66,7 @@ public function __construct(

public function setIsStatic(bool $is_static, ?bool $is_static_resolved = null): self
{
$this->is_static_resolved ??= $this->is_static_resolved;
$is_static_resolved ??= $this->is_static_resolved;
if ($this->is_static === $is_static && $this->is_static_resolved === $is_static_resolved) {
return $this;
}
Expand Down

0 comments on commit a4e4522

Please sign in to comment.