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
/
Stmt
/
HaltCompiler.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php
b/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php
index c33ec9f1da56205f3e191ef616543b895e60f1ab..c86d71e1482b087847675484fcc0caf41b760b9a 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\Node\Stmt;
namespace PhpParser\Node\Stmt;
@@
-15,12
+15,16
@@
class HaltCompiler extends Stmt
* @param string $remaining Remaining text after halt compiler statement.
* @param array $attributes Additional attributes
*/
* @param string $remaining Remaining text after halt compiler statement.
* @param array $attributes Additional attributes
*/
- public function __construct(
$remaining, array $attributes = array()
) {
+ public function __construct(
string $remaining, array $attributes = []
) {
parent::__construct($attributes);
$this->remaining = $remaining;
}
parent::__construct($attributes);
$this->remaining = $remaining;
}
- public function getSubNodeNames() {
- return array('remaining');
+ public function getSubNodeNames() : array {
+ return ['remaining'];
+ }
+
+ public function getType() : string {
+ return 'Stmt_HaltCompiler';
}
}
}
}