mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-05 14:33:49 +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;
|
||||
|
||||
@@ -22,14 +22,18 @@ class GroupUse extends Stmt
|
||||
* @param int $type Type of group use
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(Name $prefix, array $uses, $type = Use_::TYPE_NORMAL, array $attributes = array()) {
|
||||
public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->type = $type;
|
||||
$this->prefix = $prefix;
|
||||
$this->uses = $uses;
|
||||
}
|
||||
|
||||
public function getSubNodeNames() {
|
||||
return array('type', 'prefix', 'uses');
|
||||
public function getSubNodeNames() : array {
|
||||
return ['type', 'prefix', 'uses'];
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
return 'Stmt_GroupUse';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user