8484 $sites = $unifiClient->sites->list();
8585 print_r($sites);
8686
87- // List all devices with optional parameters
87+ // List all devices with optional filter parameters
8888 $devices = $unifiClient->devices->list(
8989 ['900A6F00301100000000074A6BA90000000007A3387E0000000063EC9853:123456789', '900A6F00301100000000074A6BA90000000007A3387E0000000063EC9853:987654321'],
9090 '2024-07-15T07:01:13Z'
@@ -105,9 +105,9 @@ There are several getter and setter methods available to interact with the UniFi
105105
106106| Method | Description |
107107| ---------------------------| ---------------------------------------------------------------------------|
108- | ` setTimeout(int $timeout) ` | Sets the timeout for the HTTP requests in seconds, default is 10 seconds. |
108+ | ` setTimeout($timeout) ` | Sets the timeout for the HTTP requests in seconds, default is 10 seconds. |
109109| ` getTimeout() ` | Returns the timeout for the HTTP requests in seconds. |
110- | ` setDebug(bool $debug) ` | Enables or disables debug mode, false by default. |
110+ | ` setDebug($debug) ` | Enables or disables debug mode, false by default. |
111111| ` getDebug() ` | Returns the debug mode status. |
112112| ` getVersion() ` | Returns the version of the UniFi Cloud API client. |
113113| ` getEffectiveUri() ` | Returns the effective URI of the last request. |
@@ -316,4 +316,4 @@ https://developer.ui.com/unifi-api/
316316## Important Disclaimer
317317
318318This PHP class is provided "as is" without any guarantees or warranties. Use at your own risk.
319- The author is not responsible for any damage or losses of any kind caused by the use or misuse of this class.
319+ The author is not responsible for any damage or losses of any kind caused by the use or misuse of this class.
0 commit comments