Closed jonofe closed 8 years ago
When calling new \Phue\Command\CreateGroup the error Undefined offset: 2 in line 104 is returned. I checked the file
/Phue/library/Phue/Command/CreateGroup.php
It seems, that the resulting groupID is returned in $r[0] instead of $r[2]. After changing that, it works for me.
Create a pull request with the change and I'll merge it in.
Tagged as v1.5.1
When calling new \Phue\Command\CreateGroup the error Undefined offset: 2 in line 104 is returned. I checked the file
/Phue/library/Phue/Command/CreateGroup.php
It seems, that the resulting groupID is returned in $r[0] instead of $r[2]. After changing that, it works for me.