projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
Expr
/
Variable.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php
b/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php
index 3ae3ecd9b2490d5cf774271c349b7ac28d38ed71..b100f2140f83a93888e2908404f4955fa741523b 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\Node\Expr;
namespace PhpParser\Node\Expr;
@@
-15,12
+15,16
@@
class Variable extends Expr
* @param string|Expr $name Name
* @param array $attributes Additional attributes
*/
* @param string|Expr $name Name
* @param array $attributes Additional attributes
*/
- public function __construct($name, array $attributes =
array()
) {
+ public function __construct($name, array $attributes =
[]
) {
parent::__construct($attributes);
$this->name = $name;
}
parent::__construct($attributes);
$this->name = $name;
}
- public function getSubNodeNames() {
- return array('name');
+ public function getSubNodeNames() : array {
+ return ['name'];
+ }
+
+ public function getType() : string {
+ return 'Expr_Variable';
}
}
}
}