Skip to content

node 'PlanetTeamSpeak\TeamSpeak3Framework\Node\Server' has no property named 'virtualserver_icon_id' #21

@MajorOli

Description

@MajorOli

Description and goal

node 'PlanetTeamSpeak\TeamSpeak3Framework\Node\Server' has no property named 'virtualserver_icon_id'

if usage $v->getInfo(true,true) its activate the convert option at public function getInfo(bool $extend = true, bool $convert = false): array))

The error occurs when the foreach loop cant find _icon_id

} elseif ($key->endsWith('_icon_id')) {
    $info[$key->toString()] = $this->iconGetName($key)->filterDigits();

Thats a good case for a UnitTest

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions