mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 05:29:53 +09:00
updated dependencies + working api connection
This commit is contained in:
@@ -30,7 +30,7 @@ class ElementNode extends AbstractNode
|
||||
* @param string|null $namespace
|
||||
* @param string|null $element
|
||||
*/
|
||||
public function __construct(string $namespace = null, string $element = null)
|
||||
public function __construct($namespace = null, $element = null)
|
||||
{
|
||||
$this->namespace = $namespace;
|
||||
$this->element = $element;
|
||||
@@ -55,7 +55,7 @@ class ElementNode extends AbstractNode
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getSpecificity(): Specificity
|
||||
public function getSpecificity()
|
||||
{
|
||||
return new Specificity(0, 0, $this->element ? 1 : 0);
|
||||
}
|
||||
@@ -63,7 +63,7 @@ class ElementNode extends AbstractNode
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __toString(): string
|
||||
public function __toString()
|
||||
{
|
||||
$element = $this->element ?: '*';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user