1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-16 19:36:59 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Call/AtomicMethodCallAnalysisResult.php

83 lines
1.3 KiB
PHP
Raw Normal View History

2020-03-11 14:38:09 +01:00
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression\Call;
use Psalm\Type;
class AtomicMethodCallAnalysisResult
{
/**
* @var ?Type\Union
*/
public $return_type;
/**
* @var bool
*/
public $returns_by_ref = false;
/**
* @var bool
*/
public $has_mock = false;
/**
* @var bool
*/
public $has_valid_method_call_type = false;
/**
* @var bool
*/
public $has_mixed_method_call = false;
/**
* @var array<string>
*/
public $invalid_method_call_types = [];
/**
* @var array<string>
*/
public $existent_method_ids = [];
/**
* @var array<string>
*/
public $non_existent_class_method_ids = [];
/**
* @var array<string>
*/
public $non_existent_interface_method_ids = [];
/**
* @var array<string>
*/
public $non_existent_magic_method_ids = [];
/**
* @var bool
*/
public $check_visibility = true;
/**
* @var bool
*/
public $too_many_arguments = true;
/**
* @var list<\Psalm\Internal\MethodIdentifier>
*/
public $too_many_arguments_method_ids = [];
/**
* @var bool
*/
public $too_few_arguments = false;
/**
* @var list<\Psalm\Internal\MethodIdentifier>
*/
public $too_few_arguments_method_ids = [];
2020-03-11 14:38:09 +01:00
}