diff options
Diffstat (limited to 'src/Client.php')
-rw-r--r-- | src/Client.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Client.php b/src/Client.php index 33228d1..1756c6c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -201,7 +201,8 @@ class Client { throw new \Exception("Malformed REQUEST message: {$e->getMessage()}"); } - $message = new RequestMessage($data['no'], $data['type'], $data['data'] ?? null); + $message = new RequestMessage($data['type'], $data['data'] ?? null); + $message->setRequestNo($data['no']); if (isset($data['password'])) $message->setPassword($data['password']); |