1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-11 15:38:46 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Call/AtomicCallContext.php

27 lines
653 B
PHP
Raw Normal View History

2020-03-11 18:35:33 +01:00
<?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;
}
}