Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Solve deprecated passing null to a string in PHP 8.1 #151

Closed banakito closed 2 years ago

banakito commented 2 years ago

Solve deprecated passing null to a string in list_wlanconf() trim() function doesn't allow an input parameter not being a string.

malle-pietje commented 2 years ago

Thanks tor the PR, looks fine. Will merge it in with the next release.

malle-pietje commented 2 years ago

covered in a slightly different manner with 1.1.79: https://github.com/Art-of-WiFi/UniFi-API-client/releases/tag/v1.1.79

Please confirm whether this works for you.