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
/
Include_.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php
b/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php
index b27f3af18f636175514453802ca95c5bbb47e0e4..aa6e55d182dc4f50028b2cb472e14f1e8e1b506e 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\Node\Expr;
namespace PhpParser\Node\Expr;
@@
-23,13
+23,17
@@
class Include_ extends Expr
* @param int $type Type of include
* @param array $attributes Additional attributes
*/
* @param int $type Type of include
* @param array $attributes Additional attributes
*/
- public function __construct(Expr $expr,
$type, array $attributes = array()
) {
+ public function __construct(Expr $expr,
int $type, array $attributes = []
) {
parent::__construct($attributes);
$this->expr = $expr;
$this->type = $type;
}
parent::__construct($attributes);
$this->expr = $expr;
$this->type = $type;
}
- public function getSubNodeNames() {
- return array('expr', 'type');
+ public function getSubNodeNames() : array {
+ return ['expr', 'type'];
+ }
+
+ public function getType() : string {
+ return 'Expr_Include';
}
}
}
}