Closed Sebbo94BY closed 1 year ago
This is also a blocker for bot features on PHP 8.1/8.2.
@ronindesign how do we want to proceed with this topic?
Any news regarding this, @ronindesign ?
I'm fairly certain we don't want to pass floats to ts3server
, so closing this now in favor of #192 which results in only integers returning from Node::toInt()
.
We will revisit if this issue is not resolved by #192 or in the event we need unexpectedly do need a float value for iconID
in a certain scenario.
Calling e.g.
$virtualserver->getInfo(true, true))
caused the errorCall to a member function toInt() on float
.Alternative, we could introduce a respective function like this (untested):
Current value: