-
Notifications
You must be signed in to change notification settings - Fork 650
/
AtomicMethodCallAnalysisResult.php
65 lines (47 loc) · 1.25 KB
/
AtomicMethodCallAnalysisResult.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
61
62
63
64
65
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression\Call\Method;
use Psalm\Internal\MethodIdentifier;
use Psalm\Type\Union;
/**
* @internal
*/
class AtomicMethodCallAnalysisResult
{
public ?Union $return_type = null;
public bool $returns_by_ref = false;
public bool $has_mock = false;
public bool $has_valid_method_call_type = false;
public bool $has_mixed_method_call = false;
/**
* @var array<string>
*/
public array $invalid_method_call_types = [];
/**
* @var array<string>
*/
public array $existent_method_ids = [];
/**
* @var array<string>
*/
public array $non_existent_class_method_ids = [];
/**
* @var array<string>
*/
public array $non_existent_interface_method_ids = [];
/**
* @var array<string>
*/
public array $non_existent_magic_method_ids = [];
public bool $check_visibility = true;
public bool $too_many_arguments = true;
/**
* @var list<MethodIdentifier>
*/
public array $too_many_arguments_method_ids = [];
public bool $too_few_arguments = false;
/**
* @var list<MethodIdentifier>
*/
public array $too_few_arguments_method_ids = [];
public bool $can_memoize = false;
}