1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Remove leftovers

This commit is contained in:
Daniil Gentili 2023-04-21 15:52:21 +02:00
parent b77ed37d45
commit 8d246d6af4
2 changed files with 3 additions and 4 deletions

View File

@ -13,12 +13,9 @@ class GenericTree extends ParseTree
public bool $terminated = false;
public bool $is_unsealed_array_shape;
public function __construct(string $value, ?ParseTree $parent = null, bool $is_unsealed_array_shape = false)
public function __construct(string $value, ?ParseTree $parent = null)
{
$this->value = $value;
$this->parent = $parent;
$this->is_unsealed_array_shape = $is_unsealed_array_shape;
}
}

View File

@ -488,6 +488,8 @@ abstract class Type
/**
* @psalm-pure
*
* @psalm-suppress ImpureStaticProperty Used for caching
*/
public static function getListKey(bool $from_docblock = false): Union
{