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

@@ -2,22 +2,22 @@
namespace PhpParser\Node\Expr;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Identifier;
class NullsafePropertyFetch extends Expr
{
class NullsafePropertyFetch extends Expr {
/** @var Expr Variable holding object */
public $var;
public Expr $var;
/** @var Identifier|Expr Property name */
public $name;
public Node $name;
/**
* Constructs a nullsafe property fetch node.
*
* @param Expr $var Variable holding object
* @param string|Identifier|Expr $name Property name
* @param array $attributes Additional attributes
* @param Expr $var Variable holding object
* @param string|Identifier|Expr $name Property name
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(Expr $var, $name, array $attributes = []) {
$this->attributes = $attributes;
@@ -25,11 +25,11 @@ class NullsafePropertyFetch extends Expr
$this->name = \is_string($name) ? new Identifier($name) : $name;
}
public function getSubNodeNames() : array {
public function getSubNodeNames(): array {
return ['var', 'name'];
}
public function getType() : string {
public function getType(): string {
return 'Expr_NullsafePropertyFetch';
}
}