forked from vimeo/psalm
/
ArrayCreationInfo.php
60 lines (48 loc) · 950 Bytes
/
ArrayCreationInfo.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression;
use Psalm\Internal\DataFlow\DataFlowNode;
use Psalm\Type\Atomic;
use Psalm\Type\Union;
/**
* @internal
*/
class ArrayCreationInfo
{
/**
* @var list<Atomic>
*/
public $item_key_atomic_types = [];
/**
* @var list<Atomic>
*/
public $item_value_atomic_types = [];
/**
* @var array<int|string, Union>
*/
public $property_types = [];
/**
* @var array<string, true>
*/
public $class_strings = [];
/**
* @var bool
*/
public $can_create_objectlike = true;
/**
* @var array<int|string, true>
*/
public $array_keys = [];
/**
* @var int
*/
public $int_offset = 0;
/**
* @var bool
*/
public $all_list = true;
/**
* @var array<string, DataFlowNode>
*/
public $parent_taint_nodes = [];
public bool $can_be_empty = true;
}