⬇️ Restore php-parser to its original version as tests are failing :/

This commit is contained in:
Pierre Goiffon
2021-03-29 16:51:10 +02:00
parent d62825c99b
commit afd9ddf46d
235 changed files with 13778 additions and 13877 deletions

View File

@@ -1,4 +1,4 @@
<?php declare(strict_types=1);
<?php
namespace PhpParser\Node\Stmt;
@@ -15,16 +15,12 @@ class Unset_ extends Node\Stmt
* @param Node\Expr[] $vars Variables to unset
* @param array $attributes Additional attributes
*/
public function __construct(array $vars, array $attributes = []) {
$this->attributes = $attributes;
public function __construct(array $vars, array $attributes = array()) {
parent::__construct($attributes);
$this->vars = $vars;
}
public function getSubNodeNames() : array {
return ['vars'];
}
public function getType() : string {
return 'Stmt_Unset';
public function getSubNodeNames() {
return array('vars');
}
}