Skip to content

Commit

Permalink
Revert due to reset() in getSingleAtomic
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 19, 2023
1 parent 09a606c commit 2d43c16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Type/Union.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ final class Union implements TypeNode
use UnionTrait;

/**
* @psalm-readonly
* @var non-empty-array<string, Atomic>
*/
private readonly array $types;
private array $types;

/**
* Whether the type originated in a docblock
Expand Down

0 comments on commit 2d43c16

Please sign in to comment.