2020-03-11 18:35:33 +01:00
|
|
|
<?php
|
2020-05-19 01:10:48 +02:00
|
|
|
namespace Psalm\Internal\Analyzer\Statements\Expression\Call\Method;
|
2020-03-11 18:35:33 +01:00
|
|
|
|
|
|
|
use Psalm\Internal\MethodIdentifier;
|
|
|
|
use Psalm\Internal\Provider\NodeDataProvider;
|
|
|
|
use PhpParser;
|
|
|
|
|
|
|
|
class AtomicCallContext
|
|
|
|
{
|
|
|
|
/** @var MethodIdentifier */
|
|
|
|
public $method_id;
|
|
|
|
|
|
|
|
/** @var array<int, PhpParser\Node\Arg> */
|
|
|
|
public $args;
|
|
|
|
|
|
|
|
/** @var NodeDataProvider */
|
|
|
|
public $node_data;
|
|
|
|
|
|
|
|
/** @param array<int, PhpParser\Node\Arg> $args */
|
|
|
|
public function __construct(MethodIdentifier $method_id, array $args, NodeDataProvider $node_data)
|
|
|
|
{
|
|
|
|
$this->method_id = $method_id;
|
|
|
|
$this->args = $args;
|
|
|
|
$this->node_data = $node_data;
|
|
|
|
}
|
|
|
|
}
|