Skip to content

Commit 6291e91

Browse files
author
Richard K. Szabo
committed
Bugfix for ignored error messages.
1 parent 7fe9d02 commit 6291e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exceptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ public function __construct($method = null)
108108
*/
109109
class JsonrpcInvalidParamsError extends JsonrpcException
110110
{
111-
public function __construct()
111+
public function __construct($data = null)
112112
{
113-
parent::__construct(self::INVALID_PARAMS, "Invalid params");
113+
parent::__construct(self::INVALID_PARAMS, "Invalid params", $data);
114114
}
115115
}
116116

0 commit comments

Comments
 (0)