Skip to content

Commit cae1fad

Browse files
committed
fix ResponseParameters due to 'retrieve type name from class name'
1 parent 6b119c2 commit cae1fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Telegram/Exceptions/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function __construct(string $method, array $response, array $data, Throwa
1313
$this->method = $method;
1414
$this->data = $data;
1515
if (isset($response['parameters'])) {
16-
$this->response_parameters = new ResponseParameters("ResponseParameters", $response['parameters']);
16+
$this->response_parameters = new ResponseParameters($response['parameters']);
1717
}
1818

1919
parent::__construct($response['description'], $response['error_code'], $previous);

0 commit comments

Comments
 (0)