There was an error while loading. Please reload this page.
1 parent a064414 commit d56efbcCopy full SHA for d56efbc
src/Folder.php
@@ -433,7 +433,8 @@ public function getStatus(): array {
433
* @throws Exceptions\RuntimeException
434
*/
435
public function examine(): array {
436
- return $this->client->getConnection()->examineFolder($this->path);
+ $result = $this->client->getConnection()->examineFolder($this->path);
437
+ return is_array($result) ? $result : [];
438
}
439
440
/**
0 commit comments