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/Method/AtomicCallContext.php

27 lines
648 B
PHP
Raw Normal View History

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;
2020-10-28 17:45:26 +01:00
/** @var list<PhpParser\Node\Arg> */
2020-03-11 18:35:33 +01:00
public $args;
/** @var NodeDataProvider */
public $node_data;
2020-10-17 18:36:44 +02:00
/** @param list<PhpParser\Node\Arg> $args */
2020-03-11 18:35:33 +01:00
public function __construct(MethodIdentifier $method_id, array $args, NodeDataProvider $node_data)
{
$this->method_id = $method_id;
$this->args = $args;
$this->node_data = $node_data;
}
}