mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
N°2154 - Security breach
This commit is contained in:
26
lib/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php
Normal file
26
lib/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace PhpParser\Node\Expr;
|
||||
|
||||
use PhpParser\Node\Expr;
|
||||
|
||||
class PreInc extends Expr
|
||||
{
|
||||
/** @var Expr Variable */
|
||||
public $var;
|
||||
|
||||
/**
|
||||
* Constructs a pre increment node.
|
||||
*
|
||||
* @param Expr $var Variable
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(Expr $var, array $attributes = array()) {
|
||||
parent::__construct($attributes);
|
||||
$this->var = $var;
|
||||
}
|
||||
|
||||
public function getSubNodeNames() {
|
||||
return array('var');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user