diff --git a/lib/PhpParser/Error.php b/lib/PhpParser/Error.php index 3fca6938c1..963f68c54c 100644 --- a/lib/PhpParser/Error.php +++ b/lib/PhpParser/Error.php @@ -62,7 +62,7 @@ public function getAttributes(): array { /** * Sets the attributes of the node/token the error occurred at. * - * @param array $attributes + * @param array $attributes */ public function setAttributes(array $attributes): void { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node.php b/lib/PhpParser/Node.php index 12d8b257ae..827b3aeb37 100644 --- a/lib/PhpParser/Node.php +++ b/lib/PhpParser/Node.php @@ -144,7 +144,7 @@ public function getAttributes(): array; /** * Replaces all the attributes of this node. * - * @param array $attributes + * @param array $attributes */ public function setAttributes(array $attributes): void; } diff --git a/lib/PhpParser/Node/Arg.php b/lib/PhpParser/Node/Arg.php index fa70f8ec28..c049e49adc 100644 --- a/lib/PhpParser/Node/Arg.php +++ b/lib/PhpParser/Node/Arg.php @@ -20,7 +20,7 @@ class Arg extends NodeAbstract { * @param Expr $value Value to pass * @param bool $byRef Whether to pass by ref * @param bool $unpack Whether to unpack the argument - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes * @param Identifier|null $name Parameter name (for named parameters) */ public function __construct( diff --git a/lib/PhpParser/Node/ArrayItem.php b/lib/PhpParser/Node/ArrayItem.php index 8bcce332eb..f95ee81063 100644 --- a/lib/PhpParser/Node/ArrayItem.php +++ b/lib/PhpParser/Node/ArrayItem.php @@ -20,7 +20,7 @@ class ArrayItem extends NodeAbstract { * @param Expr $value Value * @param null|Expr $key Key * @param bool $byRef Whether to assign by reference - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $value, ?Expr $key = null, bool $byRef = false, array $attributes = [], bool $unpack = false) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Attribute.php b/lib/PhpParser/Node/Attribute.php index 6635bd87e3..8984d8922f 100644 --- a/lib/PhpParser/Node/Attribute.php +++ b/lib/PhpParser/Node/Attribute.php @@ -15,7 +15,7 @@ class Attribute extends NodeAbstract { /** * @param Node\Name $name Attribute name * @param Arg[] $args Attribute arguments - * @param array $attributes Additional node attributes + * @param array $attributes Additional node attributes */ public function __construct(Name $name, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/AttributeGroup.php b/lib/PhpParser/Node/AttributeGroup.php index 487a996c7a..eae5548a26 100644 --- a/lib/PhpParser/Node/AttributeGroup.php +++ b/lib/PhpParser/Node/AttributeGroup.php @@ -10,7 +10,7 @@ class AttributeGroup extends NodeAbstract { /** * @param Attribute[] $attrs PHP attributes - * @param array $attributes Additional node attributes + * @param array $attributes Additional node attributes */ public function __construct(array $attrs, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/ClosureUse.php b/lib/PhpParser/Node/ClosureUse.php index 1eba69db1f..fcfb387fac 100644 --- a/lib/PhpParser/Node/ClosureUse.php +++ b/lib/PhpParser/Node/ClosureUse.php @@ -15,7 +15,7 @@ class ClosureUse extends NodeAbstract { * * @param Expr\Variable $var Variable to use * @param bool $byRef Whether to use by reference - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr\Variable $var, bool $byRef = false, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Const_.php b/lib/PhpParser/Node/Const_.php index a65db401af..5a80c1e578 100644 --- a/lib/PhpParser/Node/Const_.php +++ b/lib/PhpParser/Node/Const_.php @@ -18,7 +18,7 @@ class Const_ extends NodeAbstract { * * @param string|Identifier $name Name * @param Expr $value Value - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, Expr $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/DeclareItem.php b/lib/PhpParser/Node/DeclareItem.php index 88b03d8714..9500d9874e 100644 --- a/lib/PhpParser/Node/DeclareItem.php +++ b/lib/PhpParser/Node/DeclareItem.php @@ -16,7 +16,7 @@ class DeclareItem extends NodeAbstract { * * @param string|Node\Identifier $key Key * @param Node\Expr $value Value - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($key, Node\Expr $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ArrayDimFetch.php b/lib/PhpParser/Node/Expr/ArrayDimFetch.php index 99e3ebe2b8..884169ed72 100644 --- a/lib/PhpParser/Node/Expr/ArrayDimFetch.php +++ b/lib/PhpParser/Node/Expr/ArrayDimFetch.php @@ -15,7 +15,7 @@ class ArrayDimFetch extends Expr { * * @param Expr $var Variable * @param null|Expr $dim Array index / dim - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, ?Expr $dim = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Array_.php b/lib/PhpParser/Node/Expr/Array_.php index 5b85417065..955c9d25da 100644 --- a/lib/PhpParser/Node/Expr/Array_.php +++ b/lib/PhpParser/Node/Expr/Array_.php @@ -17,7 +17,7 @@ class Array_ extends Expr { * Constructs an array node. * * @param ArrayItem[] $items Items of the array - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $items = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ArrowFunction.php b/lib/PhpParser/Node/Expr/ArrowFunction.php index 969dc745bd..4a9e5ed186 100644 --- a/lib/PhpParser/Node/Expr/ArrowFunction.php +++ b/lib/PhpParser/Node/Expr/ArrowFunction.php @@ -32,7 +32,7 @@ class ArrowFunction extends Expr implements FunctionLike { * 'returnType' => null : Return type * 'expr' => Expr : Expression body * 'attrGroups' => array() : PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Assign.php b/lib/PhpParser/Node/Expr/Assign.php index 0fadbfc42e..8a43226151 100644 --- a/lib/PhpParser/Node/Expr/Assign.php +++ b/lib/PhpParser/Node/Expr/Assign.php @@ -15,7 +15,7 @@ class Assign extends Expr { * * @param Expr $var Variable * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/AssignOp.php b/lib/PhpParser/Node/Expr/AssignOp.php index 77cb661c05..acc37aa2aa 100644 --- a/lib/PhpParser/Node/Expr/AssignOp.php +++ b/lib/PhpParser/Node/Expr/AssignOp.php @@ -15,7 +15,7 @@ abstract class AssignOp extends Expr { * * @param Expr $var Variable * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/AssignRef.php b/lib/PhpParser/Node/Expr/AssignRef.php index 407debd9d8..5cc6dede11 100644 --- a/lib/PhpParser/Node/Expr/AssignRef.php +++ b/lib/PhpParser/Node/Expr/AssignRef.php @@ -15,7 +15,7 @@ class AssignRef extends Expr { * * @param Expr $var Variable * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/BinaryOp.php b/lib/PhpParser/Node/Expr/BinaryOp.php index e72f62ed0e..ae5f8da9a7 100644 --- a/lib/PhpParser/Node/Expr/BinaryOp.php +++ b/lib/PhpParser/Node/Expr/BinaryOp.php @@ -15,7 +15,7 @@ abstract class BinaryOp extends Expr { * * @param Expr $left The left hand side expression * @param Expr $right The right hand side expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $left, Expr $right, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/BitwiseNot.php b/lib/PhpParser/Node/Expr/BitwiseNot.php index 6499bf98ed..818f19702b 100644 --- a/lib/PhpParser/Node/Expr/BitwiseNot.php +++ b/lib/PhpParser/Node/Expr/BitwiseNot.php @@ -12,7 +12,7 @@ class BitwiseNot extends Expr { * Constructs a bitwise not node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/BooleanNot.php b/lib/PhpParser/Node/Expr/BooleanNot.php index c00fd71c3a..6798db837a 100644 --- a/lib/PhpParser/Node/Expr/BooleanNot.php +++ b/lib/PhpParser/Node/Expr/BooleanNot.php @@ -12,7 +12,7 @@ class BooleanNot extends Expr { * Constructs a boolean not node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Cast.php b/lib/PhpParser/Node/Expr/Cast.php index 3a1e8c94b5..d286c21132 100644 --- a/lib/PhpParser/Node/Expr/Cast.php +++ b/lib/PhpParser/Node/Expr/Cast.php @@ -12,7 +12,7 @@ abstract class Cast extends Expr { * Constructs a cast node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ClassConstFetch.php b/lib/PhpParser/Node/Expr/ClassConstFetch.php index c3bbc731f4..a883f5a382 100644 --- a/lib/PhpParser/Node/Expr/ClassConstFetch.php +++ b/lib/PhpParser/Node/Expr/ClassConstFetch.php @@ -17,7 +17,7 @@ class ClassConstFetch extends Expr { * * @param Name|Expr $class Class name * @param string|Identifier|Error $name Constant name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($class, $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Clone_.php b/lib/PhpParser/Node/Expr/Clone_.php index 2564ae47de..b6110f62b9 100644 --- a/lib/PhpParser/Node/Expr/Clone_.php +++ b/lib/PhpParser/Node/Expr/Clone_.php @@ -12,7 +12,7 @@ class Clone_ extends Expr { * Constructs a clone node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Closure.php b/lib/PhpParser/Node/Expr/Closure.php index 2d40fa55f1..caa566c536 100644 --- a/lib/PhpParser/Node/Expr/Closure.php +++ b/lib/PhpParser/Node/Expr/Closure.php @@ -34,7 +34,7 @@ class Closure extends Expr implements FunctionLike { * 'returnType' => null : Return type * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attributes groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ConstFetch.php b/lib/PhpParser/Node/Expr/ConstFetch.php index bb3bd00627..99f781859b 100644 --- a/lib/PhpParser/Node/Expr/ConstFetch.php +++ b/lib/PhpParser/Node/Expr/ConstFetch.php @@ -13,7 +13,7 @@ class ConstFetch extends Expr { * Constructs a const fetch node. * * @param Name $name Constant name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Name $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Empty_.php b/lib/PhpParser/Node/Expr/Empty_.php index 5977018628..ee55aaa08c 100644 --- a/lib/PhpParser/Node/Expr/Empty_.php +++ b/lib/PhpParser/Node/Expr/Empty_.php @@ -12,7 +12,7 @@ class Empty_ extends Expr { * Constructs an empty() node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Error.php b/lib/PhpParser/Node/Expr/Error.php index a4cb84868a..43010ac45d 100644 --- a/lib/PhpParser/Node/Expr/Error.php +++ b/lib/PhpParser/Node/Expr/Error.php @@ -14,7 +14,7 @@ class Error extends Expr { /** * Constructs an error node. * - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ErrorSuppress.php b/lib/PhpParser/Node/Expr/ErrorSuppress.php index a47dd02f0c..4ba61f0f1a 100644 --- a/lib/PhpParser/Node/Expr/ErrorSuppress.php +++ b/lib/PhpParser/Node/Expr/ErrorSuppress.php @@ -12,7 +12,7 @@ class ErrorSuppress extends Expr { * Constructs an error suppress node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Eval_.php b/lib/PhpParser/Node/Expr/Eval_.php index 2d254bfdcc..4030338475 100644 --- a/lib/PhpParser/Node/Expr/Eval_.php +++ b/lib/PhpParser/Node/Expr/Eval_.php @@ -12,7 +12,7 @@ class Eval_ extends Expr { * Constructs an eval() node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Exit_.php b/lib/PhpParser/Node/Expr/Exit_.php index 55b934998a..315307d6c4 100644 --- a/lib/PhpParser/Node/Expr/Exit_.php +++ b/lib/PhpParser/Node/Expr/Exit_.php @@ -16,7 +16,7 @@ class Exit_ extends Expr { * Constructs an exit() node. * * @param null|Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Expr $expr = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/FuncCall.php b/lib/PhpParser/Node/Expr/FuncCall.php index dd63f1b084..c2f09760a4 100644 --- a/lib/PhpParser/Node/Expr/FuncCall.php +++ b/lib/PhpParser/Node/Expr/FuncCall.php @@ -16,7 +16,7 @@ class FuncCall extends CallLike { * * @param Node\Name|Expr $name Function name * @param array $args Arguments - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Include_.php b/lib/PhpParser/Node/Expr/Include_.php index 894d32a59f..11cc9e20fd 100644 --- a/lib/PhpParser/Node/Expr/Include_.php +++ b/lib/PhpParser/Node/Expr/Include_.php @@ -20,7 +20,7 @@ class Include_ extends Expr { * * @param Expr $expr Expression * @param int $type Type of include - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, int $type, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Instanceof_.php b/lib/PhpParser/Node/Expr/Instanceof_.php index 800d187f6f..1017fad05c 100644 --- a/lib/PhpParser/Node/Expr/Instanceof_.php +++ b/lib/PhpParser/Node/Expr/Instanceof_.php @@ -16,7 +16,7 @@ class Instanceof_ extends Expr { * * @param Expr $expr Expression * @param Name|Expr $class Class name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, $class, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Isset_.php b/lib/PhpParser/Node/Expr/Isset_.php index e43a859f99..a812ae49df 100644 --- a/lib/PhpParser/Node/Expr/Isset_.php +++ b/lib/PhpParser/Node/Expr/Isset_.php @@ -12,7 +12,7 @@ class Isset_ extends Expr { * Constructs an array node. * * @param Expr[] $vars Variables - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $vars, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/List_.php b/lib/PhpParser/Node/Expr/List_.php index f9d9697ef7..f988a465ae 100644 --- a/lib/PhpParser/Node/Expr/List_.php +++ b/lib/PhpParser/Node/Expr/List_.php @@ -17,7 +17,7 @@ class List_ extends Expr { * Constructs a list() destructuring node. * * @param (ArrayItem|null)[] $items List of items to assign to - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $items, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/MethodCall.php b/lib/PhpParser/Node/Expr/MethodCall.php index 0e42ab7ce6..16c538b0a4 100644 --- a/lib/PhpParser/Node/Expr/MethodCall.php +++ b/lib/PhpParser/Node/Expr/MethodCall.php @@ -21,7 +21,7 @@ class MethodCall extends CallLike { * @param Expr $var Variable holding object * @param string|Identifier|Expr $name Method name * @param array $args Arguments - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, $name, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/New_.php b/lib/PhpParser/Node/Expr/New_.php index 2356183787..e3ebc0be0f 100644 --- a/lib/PhpParser/Node/Expr/New_.php +++ b/lib/PhpParser/Node/Expr/New_.php @@ -18,7 +18,7 @@ class New_ extends CallLike { * * @param Node\Name|Expr|Node\Stmt\Class_ $class Class name (or class node for anonymous classes) * @param array $args Arguments - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($class, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/NullsafeMethodCall.php b/lib/PhpParser/Node/Expr/NullsafeMethodCall.php index 6acd9795a2..d36fefe83b 100644 --- a/lib/PhpParser/Node/Expr/NullsafeMethodCall.php +++ b/lib/PhpParser/Node/Expr/NullsafeMethodCall.php @@ -21,7 +21,7 @@ class NullsafeMethodCall extends CallLike { * @param Expr $var Variable holding object * @param string|Identifier|Expr $name Method name * @param array $args Arguments - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, $name, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php b/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php index 9b4e8752a2..2a01f87224 100644 --- a/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php +++ b/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php @@ -16,7 +16,7 @@ class NullsafePropertyFetch extends Expr { * * @param Expr $var Variable holding object * @param string|Identifier|Expr $name Property name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/PostDec.php b/lib/PhpParser/Node/Expr/PostDec.php index 325403409b..1efc75aeb5 100644 --- a/lib/PhpParser/Node/Expr/PostDec.php +++ b/lib/PhpParser/Node/Expr/PostDec.php @@ -12,7 +12,7 @@ class PostDec extends Expr { * Constructs a post decrement node. * * @param Expr $var Variable - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/PostInc.php b/lib/PhpParser/Node/Expr/PostInc.php index df07727aba..783071b2b1 100644 --- a/lib/PhpParser/Node/Expr/PostInc.php +++ b/lib/PhpParser/Node/Expr/PostInc.php @@ -12,7 +12,7 @@ class PostInc extends Expr { * Constructs a post increment node. * * @param Expr $var Variable - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/PreDec.php b/lib/PhpParser/Node/Expr/PreDec.php index 0aee17fce4..72622ef47b 100644 --- a/lib/PhpParser/Node/Expr/PreDec.php +++ b/lib/PhpParser/Node/Expr/PreDec.php @@ -12,7 +12,7 @@ class PreDec extends Expr { * Constructs a pre decrement node. * * @param Expr $var Variable - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/PreInc.php b/lib/PhpParser/Node/Expr/PreInc.php index f8958a8ad9..5e26fa9baf 100644 --- a/lib/PhpParser/Node/Expr/PreInc.php +++ b/lib/PhpParser/Node/Expr/PreInc.php @@ -12,7 +12,7 @@ class PreInc extends Expr { * Constructs a pre increment node. * * @param Expr $var Variable - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Print_.php b/lib/PhpParser/Node/Expr/Print_.php index e68568d6d6..2af35e1e69 100644 --- a/lib/PhpParser/Node/Expr/Print_.php +++ b/lib/PhpParser/Node/Expr/Print_.php @@ -12,7 +12,7 @@ class Print_ extends Expr { * Constructs an print() node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/PropertyFetch.php b/lib/PhpParser/Node/Expr/PropertyFetch.php index 6cbe1762f6..a2fe758361 100644 --- a/lib/PhpParser/Node/Expr/PropertyFetch.php +++ b/lib/PhpParser/Node/Expr/PropertyFetch.php @@ -16,7 +16,7 @@ class PropertyFetch extends Expr { * * @param Expr $var Variable holding object * @param string|Identifier|Expr $name Property name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $var, $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/ShellExec.php b/lib/PhpParser/Node/Expr/ShellExec.php index c9c5ade0e4..68907ab66c 100644 --- a/lib/PhpParser/Node/Expr/ShellExec.php +++ b/lib/PhpParser/Node/Expr/ShellExec.php @@ -12,7 +12,7 @@ class ShellExec extends Expr { * Constructs a shell exec (backtick) node. * * @param array $parts Encapsed string array - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $parts, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/StaticCall.php b/lib/PhpParser/Node/Expr/StaticCall.php index bb60013d02..ef2006a4ae 100644 --- a/lib/PhpParser/Node/Expr/StaticCall.php +++ b/lib/PhpParser/Node/Expr/StaticCall.php @@ -22,7 +22,7 @@ class StaticCall extends CallLike { * @param Node\Name|Expr $class Class name * @param string|Identifier|Expr $name Method name * @param array $args Arguments - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($class, $name, array $args = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/StaticPropertyFetch.php b/lib/PhpParser/Node/Expr/StaticPropertyFetch.php index dc1afa13e9..d187917ba3 100644 --- a/lib/PhpParser/Node/Expr/StaticPropertyFetch.php +++ b/lib/PhpParser/Node/Expr/StaticPropertyFetch.php @@ -17,7 +17,7 @@ class StaticPropertyFetch extends Expr { * * @param Name|Expr $class Class name * @param string|VarLikeIdentifier|Expr $name Property name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($class, $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Ternary.php b/lib/PhpParser/Node/Expr/Ternary.php index c72e9af757..d17a73967e 100644 --- a/lib/PhpParser/Node/Expr/Ternary.php +++ b/lib/PhpParser/Node/Expr/Ternary.php @@ -18,7 +18,7 @@ class Ternary extends Expr { * @param Expr $cond Condition * @param null|Expr $if Expression for true * @param Expr $else Expression for false - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $cond, ?Expr $if, Expr $else, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Throw_.php b/lib/PhpParser/Node/Expr/Throw_.php index 120a0f5ed7..ef50d8582d 100644 --- a/lib/PhpParser/Node/Expr/Throw_.php +++ b/lib/PhpParser/Node/Expr/Throw_.php @@ -12,7 +12,7 @@ class Throw_ extends Node\Expr { * Constructs a throw expression node. * * @param Node\Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/UnaryMinus.php b/lib/PhpParser/Node/Expr/UnaryMinus.php index 38e5795136..e26dad44ab 100644 --- a/lib/PhpParser/Node/Expr/UnaryMinus.php +++ b/lib/PhpParser/Node/Expr/UnaryMinus.php @@ -12,7 +12,7 @@ class UnaryMinus extends Expr { * Constructs a unary minus node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/UnaryPlus.php b/lib/PhpParser/Node/Expr/UnaryPlus.php index c6298fae32..8fc93f0922 100644 --- a/lib/PhpParser/Node/Expr/UnaryPlus.php +++ b/lib/PhpParser/Node/Expr/UnaryPlus.php @@ -12,7 +12,7 @@ class UnaryPlus extends Expr { * Constructs a unary plus node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Variable.php b/lib/PhpParser/Node/Expr/Variable.php index 8ae09a16c7..43ad3e5db3 100644 --- a/lib/PhpParser/Node/Expr/Variable.php +++ b/lib/PhpParser/Node/Expr/Variable.php @@ -12,7 +12,7 @@ class Variable extends Expr { * Constructs a variable node. * * @param string|Expr $name Name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/YieldFrom.php b/lib/PhpParser/Node/Expr/YieldFrom.php index a88fdeb350..0cb387d7e7 100644 --- a/lib/PhpParser/Node/Expr/YieldFrom.php +++ b/lib/PhpParser/Node/Expr/YieldFrom.php @@ -12,7 +12,7 @@ class YieldFrom extends Expr { * Constructs an "yield from" node. * * @param Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Expr/Yield_.php b/lib/PhpParser/Node/Expr/Yield_.php index cd214a8abb..9a9ea2f960 100644 --- a/lib/PhpParser/Node/Expr/Yield_.php +++ b/lib/PhpParser/Node/Expr/Yield_.php @@ -15,7 +15,7 @@ class Yield_ extends Expr { * * @param null|Expr $value Value expression * @param null|Expr $key Key expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Expr $value = null, ?Expr $key = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Identifier.php b/lib/PhpParser/Node/Identifier.php index 2695855d1d..01f3e28985 100644 --- a/lib/PhpParser/Node/Identifier.php +++ b/lib/PhpParser/Node/Identifier.php @@ -21,7 +21,7 @@ class Identifier extends NodeAbstract { * Constructs an identifier node. * * @param string $name Identifier as string - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(string $name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/InterpolatedStringPart.php b/lib/PhpParser/Node/InterpolatedStringPart.php index ebd9cb3e8d..407258e3c6 100644 --- a/lib/PhpParser/Node/InterpolatedStringPart.php +++ b/lib/PhpParser/Node/InterpolatedStringPart.php @@ -12,7 +12,7 @@ class InterpolatedStringPart extends NodeAbstract { * Constructs a node representing a string part of an interpolated string. * * @param string $value String value - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(string $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/IntersectionType.php b/lib/PhpParser/Node/IntersectionType.php index 5b6198b71b..1562544610 100644 --- a/lib/PhpParser/Node/IntersectionType.php +++ b/lib/PhpParser/Node/IntersectionType.php @@ -10,7 +10,7 @@ class IntersectionType extends ComplexType { * Constructs an intersection type. * * @param (Identifier|Name)[] $types Types - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $types, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Name.php b/lib/PhpParser/Node/Name.php index 3b791979dd..4e6ae0a9fe 100644 --- a/lib/PhpParser/Node/Name.php +++ b/lib/PhpParser/Node/Name.php @@ -18,7 +18,7 @@ class Name extends NodeAbstract { * Constructs a name node. * * @param string|string[]|self $name Name as string, part array or Name instance (copy ctor) - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ final public function __construct($name, array $attributes = []) { $this->attributes = $attributes; @@ -187,7 +187,7 @@ public function slice(int $offset, ?int $length = null) { * * @param string|string[]|self|null $name1 The first name * @param string|string[]|self|null $name2 The second name - * @param array $attributes Attributes to assign to concatenated name + * @param array $attributes Attributes to assign to concatenated name * * @return static|null Concatenated name */ diff --git a/lib/PhpParser/Node/NullableType.php b/lib/PhpParser/Node/NullableType.php index 1b8f6bd319..e86d097424 100644 --- a/lib/PhpParser/Node/NullableType.php +++ b/lib/PhpParser/Node/NullableType.php @@ -10,7 +10,7 @@ class NullableType extends ComplexType { * Constructs a nullable type (wrapping another type). * * @param string|Identifier|Name $type Type - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($type, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Param.php b/lib/PhpParser/Node/Param.php index bd591d811a..22d439f40a 100644 --- a/lib/PhpParser/Node/Param.php +++ b/lib/PhpParser/Node/Param.php @@ -29,7 +29,7 @@ class Param extends NodeAbstract { * @param null|string|Identifier|Name|ComplexType $type Type declaration * @param bool $byRef Whether is passed by reference * @param bool $variadic Whether this is a variadic argument - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes * @param int $flags Optional visibility flags * @param AttributeGroup[] $attrGroups PHP attribute groups */ diff --git a/lib/PhpParser/Node/PropertyItem.php b/lib/PhpParser/Node/PropertyItem.php index 1b286b4dd0..804a507c5f 100644 --- a/lib/PhpParser/Node/PropertyItem.php +++ b/lib/PhpParser/Node/PropertyItem.php @@ -15,7 +15,7 @@ class PropertyItem extends Node\Stmt { * * @param string|Node\VarLikeIdentifier $name Name * @param null|Node\Expr $default Default value - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, ?Node\Expr $default = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Scalar/Float_.php b/lib/PhpParser/Node/Scalar/Float_.php index 14ade5952d..65b5257696 100644 --- a/lib/PhpParser/Node/Scalar/Float_.php +++ b/lib/PhpParser/Node/Scalar/Float_.php @@ -12,7 +12,7 @@ class Float_ extends Scalar { * Constructs a float number scalar node. * * @param float $value Value of the number - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(float $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Scalar/Int_.php b/lib/PhpParser/Node/Scalar/Int_.php index a0187b218a..d6d0de637d 100644 --- a/lib/PhpParser/Node/Scalar/Int_.php +++ b/lib/PhpParser/Node/Scalar/Int_.php @@ -19,7 +19,7 @@ class Int_ extends Scalar { * Constructs an integer number scalar node. * * @param int $value Value of the number - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(int $value, array $attributes = []) { $this->attributes = $attributes; @@ -34,7 +34,7 @@ public function getSubNodeNames(): array { * Constructs an Int node from a string number literal. * * @param string $str String number literal (decimal, octal, hex or binary) - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes * @param bool $allowInvalidOctal Whether to allow invalid octal numbers (PHP 5) * * @return Int_ The constructed LNumber, including kind attribute diff --git a/lib/PhpParser/Node/Scalar/InterpolatedString.php b/lib/PhpParser/Node/Scalar/InterpolatedString.php index a43e8dcb2d..7d958993c4 100644 --- a/lib/PhpParser/Node/Scalar/InterpolatedString.php +++ b/lib/PhpParser/Node/Scalar/InterpolatedString.php @@ -14,7 +14,7 @@ class InterpolatedString extends Scalar { * Constructs an interpolated string node. * * @param (Expr|InterpolatedStringPart)[] $parts Interpolated string parts - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $parts, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Scalar/MagicConst.php b/lib/PhpParser/Node/Scalar/MagicConst.php index c539487054..1da9b391cb 100644 --- a/lib/PhpParser/Node/Scalar/MagicConst.php +++ b/lib/PhpParser/Node/Scalar/MagicConst.php @@ -8,7 +8,7 @@ abstract class MagicConst extends Scalar { /** * Constructs a magic constant node. * - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Scalar/String_.php b/lib/PhpParser/Node/Scalar/String_.php index d25090119c..91f4c78e6c 100644 --- a/lib/PhpParser/Node/Scalar/String_.php +++ b/lib/PhpParser/Node/Scalar/String_.php @@ -30,7 +30,7 @@ class String_ extends Scalar { * Constructs a string scalar node. * * @param string $value Value of the string - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(string $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/StaticVar.php b/lib/PhpParser/Node/StaticVar.php index a85374334a..8dfb11a4c9 100644 --- a/lib/PhpParser/Node/StaticVar.php +++ b/lib/PhpParser/Node/StaticVar.php @@ -16,7 +16,7 @@ class StaticVar extends NodeAbstract { * * @param Expr\Variable $var Name * @param null|Node\Expr $default Default value - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct( Expr\Variable $var, ?Node\Expr $default = null, array $attributes = [] diff --git a/lib/PhpParser/Node/Stmt/Break_.php b/lib/PhpParser/Node/Stmt/Break_.php index d76c7dd610..11964ba117 100644 --- a/lib/PhpParser/Node/Stmt/Break_.php +++ b/lib/PhpParser/Node/Stmt/Break_.php @@ -12,7 +12,7 @@ class Break_ extends Node\Stmt { * Constructs a break node. * * @param null|Node\Expr $num Number of loops to break - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Expr $num = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Case_.php b/lib/PhpParser/Node/Stmt/Case_.php index fe825e4192..6f7a91888b 100644 --- a/lib/PhpParser/Node/Stmt/Case_.php +++ b/lib/PhpParser/Node/Stmt/Case_.php @@ -15,7 +15,7 @@ class Case_ extends Node\Stmt { * * @param null|Node\Expr $cond Condition (null for default) * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Expr $cond, array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Catch_.php b/lib/PhpParser/Node/Stmt/Catch_.php index bbd1f523ad..7f2cd7a911 100644 --- a/lib/PhpParser/Node/Stmt/Catch_.php +++ b/lib/PhpParser/Node/Stmt/Catch_.php @@ -19,7 +19,7 @@ class Catch_ extends Node\Stmt { * @param Node\Name[] $types Types of exceptions to catch * @param Expr\Variable|null $var Variable for exception * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct( array $types, ?Expr\Variable $var = null, array $stmts = [], array $attributes = [] diff --git a/lib/PhpParser/Node/Stmt/ClassConst.php b/lib/PhpParser/Node/Stmt/ClassConst.php index c35f072460..e4b1a2a168 100644 --- a/lib/PhpParser/Node/Stmt/ClassConst.php +++ b/lib/PhpParser/Node/Stmt/ClassConst.php @@ -18,7 +18,7 @@ class ClassConst extends Node\Stmt { * * @param Node\Const_[] $consts Constant declarations * @param int $flags Modifiers - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes * @param Node\AttributeGroup[] $attrGroups PHP attribute groups */ public function __construct( diff --git a/lib/PhpParser/Node/Stmt/ClassMethod.php b/lib/PhpParser/Node/Stmt/ClassMethod.php index 71cf1840fe..4e5e3f0593 100644 --- a/lib/PhpParser/Node/Stmt/ClassMethod.php +++ b/lib/PhpParser/Node/Stmt/ClassMethod.php @@ -53,7 +53,7 @@ class ClassMethod extends Node\Stmt implements FunctionLike { * 'returnType' => null : Return type * 'stmts' => array() : Statements * 'attrGroups' => array() : PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Class_.php b/lib/PhpParser/Node/Stmt/Class_.php index 1a225f8aa8..428d2a9059 100644 --- a/lib/PhpParser/Node/Stmt/Class_.php +++ b/lib/PhpParser/Node/Stmt/Class_.php @@ -42,7 +42,7 @@ class Class_ extends ClassLike { * 'implements' => array(): Names of implemented interfaces * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Const_.php b/lib/PhpParser/Node/Stmt/Const_.php index 1f97f32796..3a7b090ffe 100644 --- a/lib/PhpParser/Node/Stmt/Const_.php +++ b/lib/PhpParser/Node/Stmt/Const_.php @@ -12,7 +12,7 @@ class Const_ extends Node\Stmt { * Constructs a const list node. * * @param Node\Const_[] $consts Constant declarations - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $consts, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Continue_.php b/lib/PhpParser/Node/Stmt/Continue_.php index 4311fb1c83..f74b7fc6bf 100644 --- a/lib/PhpParser/Node/Stmt/Continue_.php +++ b/lib/PhpParser/Node/Stmt/Continue_.php @@ -12,7 +12,7 @@ class Continue_ extends Node\Stmt { * Constructs a continue node. * * @param null|Node\Expr $num Number of loops to continue - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Expr $num = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Declare_.php b/lib/PhpParser/Node/Stmt/Declare_.php index b76fc57416..0c07eb3985 100644 --- a/lib/PhpParser/Node/Stmt/Declare_.php +++ b/lib/PhpParser/Node/Stmt/Declare_.php @@ -16,7 +16,7 @@ class Declare_ extends Node\Stmt { * * @param DeclareItem[] $declares List of declares * @param Node\Stmt[]|null $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $declares, ?array $stmts = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Do_.php b/lib/PhpParser/Node/Stmt/Do_.php index f8328101ef..28d313983e 100644 --- a/lib/PhpParser/Node/Stmt/Do_.php +++ b/lib/PhpParser/Node/Stmt/Do_.php @@ -15,7 +15,7 @@ class Do_ extends Node\Stmt { * * @param Node\Expr $cond Condition * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Echo_.php b/lib/PhpParser/Node/Stmt/Echo_.php index 040f398ad5..b368b392ba 100644 --- a/lib/PhpParser/Node/Stmt/Echo_.php +++ b/lib/PhpParser/Node/Stmt/Echo_.php @@ -12,7 +12,7 @@ class Echo_ extends Node\Stmt { * Constructs an echo node. * * @param Node\Expr[] $exprs Expressions - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $exprs, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/ElseIf_.php b/lib/PhpParser/Node/Stmt/ElseIf_.php index 5d95169515..66e590d428 100644 --- a/lib/PhpParser/Node/Stmt/ElseIf_.php +++ b/lib/PhpParser/Node/Stmt/ElseIf_.php @@ -15,7 +15,7 @@ class ElseIf_ extends Node\Stmt { * * @param Node\Expr $cond Condition * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Else_.php b/lib/PhpParser/Node/Stmt/Else_.php index 03cf37a869..78c1ce86bf 100644 --- a/lib/PhpParser/Node/Stmt/Else_.php +++ b/lib/PhpParser/Node/Stmt/Else_.php @@ -12,7 +12,7 @@ class Else_ extends Node\Stmt { * Constructs an else node. * * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/EnumCase.php b/lib/PhpParser/Node/Stmt/EnumCase.php index e1fa971135..561a21c591 100644 --- a/lib/PhpParser/Node/Stmt/EnumCase.php +++ b/lib/PhpParser/Node/Stmt/EnumCase.php @@ -17,7 +17,7 @@ class EnumCase extends Node\Stmt { * @param string|Node\Identifier $name Enum case name * @param Node\Expr|null $expr Enum case expression * @param AttributeGroup[] $attrGroups PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, ?Node\Expr $expr = null, array $attrGroups = [], array $attributes = []) { parent::__construct($attributes); diff --git a/lib/PhpParser/Node/Stmt/Enum_.php b/lib/PhpParser/Node/Stmt/Enum_.php index 640745bdec..62b4aa079b 100644 --- a/lib/PhpParser/Node/Stmt/Enum_.php +++ b/lib/PhpParser/Node/Stmt/Enum_.php @@ -17,7 +17,7 @@ class Enum_ extends ClassLike { * 'implements' => array() : Names of implemented interfaces * 'stmts' => array() : Statements * 'attrGroups' => array() : PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->name = \is_string($name) ? new Node\Identifier($name) : $name; diff --git a/lib/PhpParser/Node/Stmt/Expression.php b/lib/PhpParser/Node/Stmt/Expression.php index df9ad71ff0..0f3f9a89b8 100644 --- a/lib/PhpParser/Node/Stmt/Expression.php +++ b/lib/PhpParser/Node/Stmt/Expression.php @@ -15,7 +15,7 @@ class Expression extends Node\Stmt { * Constructs an expression statement. * * @param Node\Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Finally_.php b/lib/PhpParser/Node/Stmt/Finally_.php index 351550e79a..02df135ac8 100644 --- a/lib/PhpParser/Node/Stmt/Finally_.php +++ b/lib/PhpParser/Node/Stmt/Finally_.php @@ -12,7 +12,7 @@ class Finally_ extends Node\Stmt { * Constructs a finally node. * * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/For_.php b/lib/PhpParser/Node/Stmt/For_.php index 7afd2e25eb..3592c142b7 100644 --- a/lib/PhpParser/Node/Stmt/For_.php +++ b/lib/PhpParser/Node/Stmt/For_.php @@ -22,7 +22,7 @@ class For_ extends Node\Stmt { * 'cond' => array(): Loop conditions * 'loop' => array(): Loop expressions * 'stmts' => array(): Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Foreach_.php b/lib/PhpParser/Node/Stmt/Foreach_.php index b0230cfe69..b341d85a19 100644 --- a/lib/PhpParser/Node/Stmt/Foreach_.php +++ b/lib/PhpParser/Node/Stmt/Foreach_.php @@ -25,7 +25,7 @@ class Foreach_ extends Node\Stmt { * 'keyVar' => null : Variable to assign key to * 'byRef' => false : Whether to assign value by reference * 'stmts' => array(): Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $expr, Node\Expr $valueVar, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Function_.php b/lib/PhpParser/Node/Stmt/Function_.php index e47554a389..aa8372b216 100644 --- a/lib/PhpParser/Node/Stmt/Function_.php +++ b/lib/PhpParser/Node/Stmt/Function_.php @@ -32,7 +32,7 @@ class Function_ extends Node\Stmt implements FunctionLike { * 'returnType' => null : Return type * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Global_.php b/lib/PhpParser/Node/Stmt/Global_.php index e46b3a8092..94155aa6a4 100644 --- a/lib/PhpParser/Node/Stmt/Global_.php +++ b/lib/PhpParser/Node/Stmt/Global_.php @@ -12,7 +12,7 @@ class Global_ extends Node\Stmt { * Constructs a global variables list node. * * @param Node\Expr[] $vars Variables to unset - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $vars, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Goto_.php b/lib/PhpParser/Node/Stmt/Goto_.php index b846faaa4c..774e7c72c2 100644 --- a/lib/PhpParser/Node/Stmt/Goto_.php +++ b/lib/PhpParser/Node/Stmt/Goto_.php @@ -13,7 +13,7 @@ class Goto_ extends Stmt { * Constructs a goto node. * * @param string|Identifier $name Name of label to jump to - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/GroupUse.php b/lib/PhpParser/Node/Stmt/GroupUse.php index c1d509dbe5..4a0322a0af 100644 --- a/lib/PhpParser/Node/Stmt/GroupUse.php +++ b/lib/PhpParser/Node/Stmt/GroupUse.php @@ -20,7 +20,7 @@ class GroupUse extends Stmt { * @param Name $prefix Prefix for uses * @param UseItem[] $uses Uses * @param int $type Type of group use - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/HaltCompiler.php b/lib/PhpParser/Node/Stmt/HaltCompiler.php index 43163750c4..6fe7be35c6 100644 --- a/lib/PhpParser/Node/Stmt/HaltCompiler.php +++ b/lib/PhpParser/Node/Stmt/HaltCompiler.php @@ -12,7 +12,7 @@ class HaltCompiler extends Stmt { * Constructs a __halt_compiler node. * * @param string $remaining Remaining text after halt compiler statement. - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(string $remaining, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/If_.php b/lib/PhpParser/Node/Stmt/If_.php index 57c9290eda..57a9bb6dec 100644 --- a/lib/PhpParser/Node/Stmt/If_.php +++ b/lib/PhpParser/Node/Stmt/If_.php @@ -22,7 +22,7 @@ class If_ extends Node\Stmt { * 'stmts' => array(): Statements * 'elseifs' => array(): Elseif clauses * 'else' => null : Else clause - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/InlineHTML.php b/lib/PhpParser/Node/Stmt/InlineHTML.php index f27ce0fc5e..88d54c060a 100644 --- a/lib/PhpParser/Node/Stmt/InlineHTML.php +++ b/lib/PhpParser/Node/Stmt/InlineHTML.php @@ -12,7 +12,7 @@ class InlineHTML extends Stmt { * Constructs an inline HTML node. * * @param string $value String - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(string $value, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Interface_.php b/lib/PhpParser/Node/Stmt/Interface_.php index 175d2a51eb..8c8b4ee01f 100644 --- a/lib/PhpParser/Node/Stmt/Interface_.php +++ b/lib/PhpParser/Node/Stmt/Interface_.php @@ -16,7 +16,7 @@ class Interface_ extends ClassLike { * 'extends' => array(): Name of extended interfaces * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Label.php b/lib/PhpParser/Node/Stmt/Label.php index e4a103b0c3..9e30c19d90 100644 --- a/lib/PhpParser/Node/Stmt/Label.php +++ b/lib/PhpParser/Node/Stmt/Label.php @@ -13,7 +13,7 @@ class Label extends Stmt { * Constructs a label node. * * @param string|Identifier $name Name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Namespace_.php b/lib/PhpParser/Node/Stmt/Namespace_.php index 7ae38f4b22..a7fe92487a 100644 --- a/lib/PhpParser/Node/Stmt/Namespace_.php +++ b/lib/PhpParser/Node/Stmt/Namespace_.php @@ -19,7 +19,7 @@ class Namespace_ extends Node\Stmt { * * @param null|Node\Name $name Name * @param null|Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Name $name = null, ?array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Property.php b/lib/PhpParser/Node/Stmt/Property.php index ca6508c2ba..279207fd18 100644 --- a/lib/PhpParser/Node/Stmt/Property.php +++ b/lib/PhpParser/Node/Stmt/Property.php @@ -24,7 +24,7 @@ class Property extends Node\Stmt { * * @param int $flags Modifiers * @param PropertyItem[] $props Properties - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes * @param null|string|Identifier|Name|ComplexType $type Type declaration * @param Node\AttributeGroup[] $attrGroups PHP attribute groups */ diff --git a/lib/PhpParser/Node/Stmt/Return_.php b/lib/PhpParser/Node/Stmt/Return_.php index 726220ab09..35f49eff4d 100644 --- a/lib/PhpParser/Node/Stmt/Return_.php +++ b/lib/PhpParser/Node/Stmt/Return_.php @@ -12,7 +12,7 @@ class Return_ extends Node\Stmt { * Constructs a return node. * * @param null|Node\Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Expr $expr = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Static_.php b/lib/PhpParser/Node/Stmt/Static_.php index 6d0cd97798..7f565f74ec 100644 --- a/lib/PhpParser/Node/Stmt/Static_.php +++ b/lib/PhpParser/Node/Stmt/Static_.php @@ -13,7 +13,7 @@ class Static_ extends Stmt { * Constructs a static variables list node. * * @param StaticVar[] $vars Variable definitions - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $vars, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Switch_.php b/lib/PhpParser/Node/Stmt/Switch_.php index b5c560ec78..5968306a33 100644 --- a/lib/PhpParser/Node/Stmt/Switch_.php +++ b/lib/PhpParser/Node/Stmt/Switch_.php @@ -15,7 +15,7 @@ class Switch_ extends Node\Stmt { * * @param Node\Expr $cond Condition * @param Case_[] $cases Case list - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $cases, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Throw_.php b/lib/PhpParser/Node/Stmt/Throw_.php index a22d40963c..9772f79b30 100644 --- a/lib/PhpParser/Node/Stmt/Throw_.php +++ b/lib/PhpParser/Node/Stmt/Throw_.php @@ -12,7 +12,7 @@ class Throw_ extends Node\Stmt { * Constructs a legacy throw statement node. * * @param Node\Expr $expr Expression - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $expr, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/TraitUse.php b/lib/PhpParser/Node/Stmt/TraitUse.php index 7f6d318190..460c51f2b7 100644 --- a/lib/PhpParser/Node/Stmt/TraitUse.php +++ b/lib/PhpParser/Node/Stmt/TraitUse.php @@ -15,7 +15,7 @@ class TraitUse extends Node\Stmt { * * @param Node\Name[] $traits Traits * @param TraitUseAdaptation[] $adaptations Adaptations - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $traits, array $adaptations = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php b/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php index a4ef555c35..817cbc613f 100644 --- a/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php +++ b/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php @@ -17,7 +17,7 @@ class Alias extends Node\Stmt\TraitUseAdaptation { * @param string|Node\Identifier $method Method name * @param null|int $newModifier New modifier * @param null|string|Node\Identifier $newName New name - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(?Node\Name $trait, $method, ?int $newModifier, $newName, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php b/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php index 258386afa7..7026150e3f 100644 --- a/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php +++ b/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php @@ -14,7 +14,7 @@ class Precedence extends Node\Stmt\TraitUseAdaptation { * @param Node\Name $trait Trait name * @param string|Node\Identifier $method Method name * @param Node\Name[] $insteadof Overwritten traits - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Name $trait, $method, array $insteadof, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Trait_.php b/lib/PhpParser/Node/Stmt/Trait_.php index a1c208cada..694924e471 100644 --- a/lib/PhpParser/Node/Stmt/Trait_.php +++ b/lib/PhpParser/Node/Stmt/Trait_.php @@ -12,7 +12,7 @@ class Trait_ extends ClassLike { * @param array $subNodes Array of the following optional subnodes: * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attribute groups - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/TryCatch.php b/lib/PhpParser/Node/Stmt/TryCatch.php index 3587d6ba14..f051754893 100644 --- a/lib/PhpParser/Node/Stmt/TryCatch.php +++ b/lib/PhpParser/Node/Stmt/TryCatch.php @@ -18,7 +18,7 @@ class TryCatch extends Node\Stmt { * @param Node\Stmt[] $stmts Statements * @param Catch_[] $catches Catches * @param null|Finally_ $finally Optional finally node - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $stmts, array $catches, ?Finally_ $finally = null, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Unset_.php b/lib/PhpParser/Node/Stmt/Unset_.php index 74ae166433..4da8036c56 100644 --- a/lib/PhpParser/Node/Stmt/Unset_.php +++ b/lib/PhpParser/Node/Stmt/Unset_.php @@ -12,7 +12,7 @@ class Unset_ extends Node\Stmt { * Constructs an unset node. * * @param Node\Expr[] $vars Variables to unset - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $vars, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/Use_.php b/lib/PhpParser/Node/Stmt/Use_.php index 24c8ff2066..b95a58b2e2 100644 --- a/lib/PhpParser/Node/Stmt/Use_.php +++ b/lib/PhpParser/Node/Stmt/Use_.php @@ -29,7 +29,7 @@ class Use_ extends Stmt { * * @param UseItem[] $uses Aliases * @param int $type Type of alias - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/Stmt/While_.php b/lib/PhpParser/Node/Stmt/While_.php index f13b7e7a6e..7746abdf1a 100644 --- a/lib/PhpParser/Node/Stmt/While_.php +++ b/lib/PhpParser/Node/Stmt/While_.php @@ -15,7 +15,7 @@ class While_ extends Node\Stmt { * * @param Node\Expr $cond Condition * @param Node\Stmt[] $stmts Statements - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/UnionType.php b/lib/PhpParser/Node/UnionType.php index 7cba2ee35e..a2abea889c 100644 --- a/lib/PhpParser/Node/UnionType.php +++ b/lib/PhpParser/Node/UnionType.php @@ -10,7 +10,7 @@ class UnionType extends ComplexType { * Constructs a union type. * * @param (Identifier|Name|IntersectionType)[] $types Types - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $types, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/UseItem.php b/lib/PhpParser/Node/UseItem.php index 3c4ed01ad5..8c8fb0656a 100644 --- a/lib/PhpParser/Node/UseItem.php +++ b/lib/PhpParser/Node/UseItem.php @@ -20,7 +20,7 @@ class UseItem extends Node\Stmt { * @param Node\Name $name Namespace/Class to alias * @param null|string|Identifier $alias Alias * @param int $type Type of the use element (for mixed group use only) - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(Node\Name $name, $alias = null, int $type = Use_::TYPE_UNKNOWN, array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/Node/VariadicPlaceholder.php b/lib/PhpParser/Node/VariadicPlaceholder.php index 2e4e9a6c40..48c4f338c0 100644 --- a/lib/PhpParser/Node/VariadicPlaceholder.php +++ b/lib/PhpParser/Node/VariadicPlaceholder.php @@ -11,7 +11,7 @@ class VariadicPlaceholder extends NodeAbstract { /** * Create a variadic argument placeholder (first-class callable syntax). * - * @param array $attributes Additional attributes + * @param array $attributes Additional attributes */ public function __construct(array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/NodeAbstract.php b/lib/PhpParser/NodeAbstract.php index cdecd4359a..3c8c2ecd3f 100644 --- a/lib/PhpParser/NodeAbstract.php +++ b/lib/PhpParser/NodeAbstract.php @@ -8,7 +8,7 @@ abstract class NodeAbstract implements Node, \JsonSerializable { /** * Creates a Node. * - * @param array $attributes Array of attributes + * @param array $attributes Array of attributes */ public function __construct(array $attributes = []) { $this->attributes = $attributes; diff --git a/lib/PhpParser/ParserAbstract.php b/lib/PhpParser/ParserAbstract.php index 158f314d4f..e7a383a399 100644 --- a/lib/PhpParser/ParserAbstract.php +++ b/lib/PhpParser/ParserAbstract.php @@ -681,7 +681,7 @@ protected function parseLNumber(string $str, array $attributes, bool $allowInval * Parse a T_NUM_STRING token into either an integer or string node. * * @param string $str Number string - * @param array $attributes Attributes + * @param array $attributes Attributes * * @return Int_|String_ Integer or string node. */