Refactoring: Move delay parameter as last in Producer::dpub

This commit is contained in:
2021-01-25 03:27:04 +03:00
parent d9bf2a4437
commit da4331127b
3 changed files with 5 additions and 5 deletions

View File

@@ -37,8 +37,8 @@ final class Producer extends Connection
/**
* @psalm-suppress PossiblyFalseOperand
*/
public function dpub(string $topic, int $deferTime, string $body): void
public function dpub(string $topic, string $body, int $delay): void
{
$this->command('DPUB', [$topic, $deferTime], $body)->response()->okOrFail();
$this->command('DPUB', [$topic, $delay], $body)->response()->okOrFail();
}
}