mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
N°7176 - Update nikic/php-parser to 5.0.0 (#735)
This commit is contained in:
@@ -4,27 +4,26 @@ namespace PhpParser\Node\Stmt;
|
||||
|
||||
use PhpParser\Node;
|
||||
|
||||
class Unset_ extends Node\Stmt
|
||||
{
|
||||
class Unset_ extends Node\Stmt {
|
||||
/** @var Node\Expr[] Variables to unset */
|
||||
public $vars;
|
||||
public array $vars;
|
||||
|
||||
/**
|
||||
* Constructs an unset node.
|
||||
*
|
||||
* @param Node\Expr[] $vars Variables to unset
|
||||
* @param array $attributes Additional attributes
|
||||
* @param Node\Expr[] $vars Variables to unset
|
||||
* @param array<string, mixed> $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(array $vars, array $attributes = []) {
|
||||
$this->attributes = $attributes;
|
||||
$this->vars = $vars;
|
||||
}
|
||||
|
||||
public function getSubNodeNames() : array {
|
||||
public function getSubNodeNames(): array {
|
||||
return ['vars'];
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
|
||||
public function getType(): string {
|
||||
return 'Stmt_Unset';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user