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

@@ -4,19 +4,18 @@ namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
abstract class BinaryOp extends Expr
{
abstract class BinaryOp extends Expr {
/** @var Expr The left hand side expression */
public $left;
public Expr $left;
/** @var Expr The right hand side expression */
public $right;
public Expr $right;
/**
* Constructs a binary operator node.
*
* @param Expr $left The left hand side expression
* @param Expr $right The right hand side expression
* @param array $attributes Additional attributes
* @param Expr $left The left hand side expression
* @param Expr $right The right hand side expression
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(Expr $left, Expr $right, array $attributes = []) {
$this->attributes = $attributes;
@@ -24,7 +23,7 @@ abstract class BinaryOp extends Expr
$this->right = $right;
}
public function getSubNodeNames() : array {
public function getSubNodeNames(): array {
return ['left', 'right'];
}
@@ -33,8 +32,6 @@ abstract class BinaryOp extends Expr
*
* In the case there are multiple possible sigils for an operator, this method does not
* necessarily return the one used in the parsed code.
*
* @return string
*/
abstract public function getOperatorSigil() : string;
abstract public function getOperatorSigil(): string;
}