Skip to content

Commit 8b67178

Browse files
committed
make a private Client method protected
1 parent 0ea0f15 commit 8b67178

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
* improved: added new methods: `Server::generatePayload($resp, $respCharset)`,
66
`Server::printPayload($payload, $resp->getContentType(), $respEncoding)` , `HTTP::setAcceptedStatusCodes($statusCodes)`
7-
and `Wrapper::cloneClientForClosure($client)` to help subclasses such as the Json-Rpc server and request
7+
and `Wrapper::cloneClientForClosure($client)`. Made private method `Client::_try_multicall` protected.
8+
All of this to help subclasses such as the Json-Rpc client, server and request
89

910
* improved: prepare the debugger for json-rpc 2.0 support, which will be in a pending release of the PhpJsonRpc library
1011

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ public function multicall($reqs, $timeout = 0, $method = '', $fallback = true)
16261626
* @return Response[]|Response a single Response when the call returned a fault / does not conform to what we expect
16271627
* from a multicall response
16281628
*/
1629-
private function _try_multicall($reqs, $timeout, $method)
1629+
protected function _try_multicall($reqs, $timeout, $method)
16301630
{
16311631
// Construct multicall request
16321632
$calls = array();

0 commit comments

Comments
 (0)