rector/rules/CodingStyle/ValueObject/NodeToRemoveAndConcatItem.php
Tomas Votruba cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00

32 lines
730 B
PHP

<?php
declare (strict_types=1);
namespace Rector\CodingStyle\ValueObject;
use PhpParser\Node;
use PhpParser\Node\Expr;
final class NodeToRemoveAndConcatItem
{
/**
* @var \PhpParser\Node\Expr
*/
private $removedExpr;
/**
* @var \PhpParser\Node
*/
private $concatItemNode;
public function __construct(\PhpParser\Node\Expr $removedExpr, \PhpParser\Node $concatItemNode)
{
$this->removedExpr = $removedExpr;
$this->concatItemNode = $concatItemNode;
}
public function getRemovedExpr() : \PhpParser\Node\Expr
{
return $this->removedExpr;
}
public function getConcatItemNode() : \PhpParser\Node
{
return $this->concatItemNode;
}
}