Closed syntaxseed closed 2 years ago
Update: My PR also fixes a few errors related to PHP 8, including some type errors.
better, I fixed it just today in my projet, just by init prop with =null and add a ? to the type, but it's better to init in constructor, so I can remove the null check in getter
fixed
Hello,
Running the binary:
./vendor/bin/phue-create-user 192.168.1.2
Gives an error:
I fixed the error by adding to the Client constructor so that it initializes a transport: