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
/
Finally_.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php
b/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php
index 0e3eabbe1b39d788d82736973b6f84fd7fba1e0a..0498f5bf849eba1692555d0bcca4e2ea797fe388 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\Node\Stmt;
namespace PhpParser\Node\Stmt;
@@
-6,21
+6,25
@@
use PhpParser\Node;
class Finally_ extends Node\Stmt
{
class Finally_ extends Node\Stmt
{
- /** @var Node[] Statements */
+ /** @var Node
\Stmt
[] Statements */
public $stmts;
/**
* Constructs a finally node.
*
public $stmts;
/**
* Constructs a finally node.
*
- * @param Node[] $stmts Statements
- * @param array $attributes Additional attributes
+ * @param Node
\Stmt
[] $stmts Statements
+ * @param array
$attributes Additional attributes
*/
*/
- public function __construct(array $stmts =
array(), array $attributes = array()
) {
+ public function __construct(array $stmts =
[], array $attributes = []
) {
parent::__construct($attributes);
$this->stmts = $stmts;
}
parent::__construct($attributes);
$this->stmts = $stmts;
}
- public function getSubNodeNames() {
- return array('stmts');
+ public function getSubNodeNames() : array {
+ return ['stmts'];
+ }
+
+ public function getType() : string {
+ return 'Stmt_Finally';
}
}
}
}