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
/
Scalar
/
MagicConst.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php
b/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php
index a50d68f3d0fa21a86c5914773468ceae4b6c9866..841f4f8be934ea7bca18d5f59ff2b680f38368cd 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\Node\Scalar;
namespace PhpParser\Node\Scalar;
@@
-11,12
+11,12
@@
abstract class MagicConst extends Scalar
*
* @param array $attributes Additional attributes
*/
*
* @param array $attributes Additional attributes
*/
- public function __construct(array $attributes =
array()
) {
+ public function __construct(array $attributes =
[]
) {
parent::__construct($attributes);
}
parent::__construct($attributes);
}
- public function getSubNodeNames() {
- return
array()
;
+ public function getSubNodeNames()
: array
{
+ return
[]
;
}
/**
}
/**
@@
-24,5
+24,5
@@
abstract class MagicConst extends Scalar
*
* @return string Name of magic constant
*/
*
* @return string Name of magic constant
*/
- abstract public function getName();
+ abstract public function getName()
: string
;
}
}