Skip to content

Commit 89a0ba3

Browse files
committed
Fix parameter type
1 parent fb804db commit 89a0ba3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Idle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function await(callable $callback): void
5353
/**
5454
* Start listening for new messages using the idle() generator.
5555
*/
56-
protected function listen(callable $callback, Carbon $ttl): void
56+
protected function listen(callable $callback, CarbonInterface $ttl): void
5757
{
5858
// Iterate over responses yielded by the idle generator.
5959
foreach ($this->idle() as $response) {

0 commit comments

Comments
 (0)