From f4b7d4ece2c2bd081a47dc6c52f521ee7912a788 Mon Sep 17 00:00:00 2001 From: sebprt Date: Mon, 26 Jun 2023 12:16:30 +0200 Subject: [PATCH] Fixed the reject method : the arguments used were in the wrong order --- src/Rejection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rejection.php b/src/Rejection.php index 5c6e605..f7f6859 100644 --- a/src/Rejection.php +++ b/src/Rejection.php @@ -81,8 +81,8 @@ public function reject(object|array $rejection, ?\Throwable $exception = null): [ 'content-type' => 'application/json', ], - $this->topic, $this->exchange, + $this->topic, ); }