diff --git a/src/Producer.php b/src/Producer.php index d96f4eb..722a2eb 100644 --- a/src/Producer.php +++ b/src/Producer.php @@ -44,6 +44,8 @@ final class Producer extends Connection /** * @param array|string $body * + * @psalm-param positive-int|0 $delay + * * @return Promise */ public function publish(string $topic, string | array $body, int $delay = 0): Promise