-
- Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
Describe the bug
$folder->getChildren()->total() is 0
Used config
See code to reproduce (maybe I'm doing something wrong?)
Code to Reproduce
The troubling code section which produces the reported bug.
$cm = new ClientManager([ 'accounts' => [ 'myaccount' => [ 'host' => 'myhost.com', 'port' => 993, 'protocol' => 'imap', 'encryption' => 'ssl', 'username' => 'myusername', 'password' => 'mypassword', ] ] ]); $client = $cm->account('myaccount'); $folder = $client->getFolder('TestFolder'); var_dump($folder->hasChildren()); // bool(true) var_dump($folder->getChildren()->total()); // int(0) <-- bug? Expected behavior
In my case I expect var_dump($folder->getChildren()->total()); to be int(1)
Desktop / Server (please complete the following information):
- OS: Linux Server Debian
- PHP: 8.2.10 (fpm)
- Provider: Gmail / Mailcow
Metadata
Metadata
Assignees
Labels
No labels