mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-15 20:32:46 +09:00
Dependency updates and update version number
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace PhpParser\Node\Stmt;
|
||||
|
||||
@@ -15,12 +15,16 @@ class InlineHTML extends Stmt
|
||||
* @param string $value String
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct($value, array $attributes = array()) {
|
||||
public function __construct(string $value, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->value = $value;
|
||||
}
|
||||
|
||||
public function getSubNodeNames() {
|
||||
return array('value');
|
||||
public function getSubNodeNames() : array {
|
||||
return ['value'];
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
return 'Stmt_InlineHTML';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user