rector/rules/Php71/ValueObject/TwoNodeMatch.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

31 lines
670 B
PHP

<?php
declare (strict_types=1);
namespace Rector\Php71\ValueObject;
use PhpParser\Node\Expr;
final class TwoNodeMatch
{
/**
* @var \PhpParser\Node\Expr
*/
private $firstExpr;
/**
* @var \PhpParser\Node\Expr
*/
private $secondExpr;
public function __construct(\PhpParser\Node\Expr $firstExpr, \PhpParser\Node\Expr $secondExpr)
{
$this->firstExpr = $firstExpr;
$this->secondExpr = $secondExpr;
}
public function getFirstExpr() : \PhpParser\Node\Expr
{
return $this->firstExpr;
}
public function getSecondExpr() : \PhpParser\Node\Expr
{
return $this->secondExpr;
}
}