Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
652 B
PHP
Executable File
30 lines
652 B
PHP
Executable File
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node;
|
|
|
|
use PhpParser\Node;
|
|
use PhpParser\NodeAbstract;
|
|
|
|
class MatchArm extends NodeAbstract {
|
|
/** @var null|list<Node\Expr> */
|
|
public ?array $conds;
|
|
public Expr $body;
|
|
|
|
/**
|
|
* @param null|list<Node\Expr> $conds
|
|
*/
|
|
public function __construct(?array $conds, Node\Expr $body, array $attributes = []) {
|
|
$this->conds = $conds;
|
|
$this->body = $body;
|
|
$this->attributes = $attributes;
|
|
}
|
|
|
|
public function getSubNodeNames(): array {
|
|
return ['conds', 'body'];
|
|
}
|
|
|
|
public function getType(): string {
|
|
return 'MatchArm';
|
|
}
|
|
}
|