Aggiornato Composer

This commit is contained in:
Paolo A
2024-05-17 12:24:19 +00:00
parent 4ac62108b5
commit ec201d75b2
2238 changed files with 38684 additions and 59785 deletions

View File

@@ -5,27 +5,26 @@ namespace PhpParser\Node;
use PhpParser\Node;
use PhpParser\NodeAbstract;
class MatchArm extends NodeAbstract
{
/** @var null|Node\Expr[] */
public $conds;
class MatchArm extends NodeAbstract {
/** @var null|list<Node\Expr> */
public ?array $conds;
/** @var Node\Expr */
public $body;
public Expr $body;
/**
* @param null|Node\Expr[] $conds
* @param null|list<Node\Expr> $conds
*/
public function __construct($conds, Node\Expr $body, array $attributes = []) {
public function __construct(?array $conds, Node\Expr $body, array $attributes = []) {
$this->conds = $conds;
$this->body = $body;
$this->attributes = $attributes;
}
public function getSubNodeNames() : array {
public function getSubNodeNames(): array {
return ['conds', 'body'];
}
public function getType() : string {
public function getType(): string {
return 'MatchArm';
}
}