composer update
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ class Alias extends Node\Stmt\TraitUseAdaptation
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct($trait, $method, $newModifier, $newName, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->attributes = $attributes;
|
||||
$this->trait = $trait;
|
||||
$this->method = \is_string($method) ? new Node\Identifier($method) : $method;
|
||||
$this->newModifier = $newModifier;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ class Precedence extends Node\Stmt\TraitUseAdaptation
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(Node\Name $trait, $method, array $insteadof, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->attributes = $attributes;
|
||||
$this->trait = $trait;
|
||||
$this->method = \is_string($method) ? new Node\Identifier($method) : $method;
|
||||
$this->insteadof = $insteadof;
|
||||
|
||||
Reference in New Issue
Block a user