mirror of
https://github.com/danog/psalm.git
synced 2025-01-11 15:38:46 +01:00
27 lines
653 B
PHP
27 lines
653 B
PHP
|
<?php
|
||
|
namespace Psalm\Internal\Analyzer\Statements\Expression\Call;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|