Skip to content

Commit efbb26f

Browse files
committed
Clarify idle and poll method PHPDoc comments
1 parent 2267f4f commit efbb26f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FolderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public function is(FolderInterface $folder): bool;
4242
public function messages(): MessageQueryInterface;
4343

4444
/**
45-
* Begin idling on the current folder.
45+
* Begin idling on the current folder for the given timeout in seconds.
4646
*/
4747
public function idle(callable $callback, ?callable $query = null, callable|int $timeout = 300): void;
4848

4949
/**
50-
* Begin polling for new messages at a given frequency.
50+
* Begin polling for new messages at the given frequency in seconds.
5151
*/
5252
public function poll(callable $callback, ?callable $query = null, callable|int $frequency = 60): void;
5353

0 commit comments

Comments
 (0)