Skip to content

Commit fe4a5d9

Browse files
authored
Merge pull request #43 from bigcommerce/get-client-protected
Make Grphp\Client#getClient protected instead of private
2 parents 994df88 + 619f51e commit fe4a5d9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Changelog for grphp.
22

33
### Pending Release
44

5+
### 3.1.1
6+
7+
* Make Grphp\Client#getClient protected instead of private
8+
59
### 3.1.0
610

711
* Add the ability to configure the content-type header for requests using the H2Proxy strategy

src/Grphp/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function call(Message $request, string $method, array $metadata = [], arr
9595
* Lazy-load/instantiate client instance and appropriate channel credentials
9696
* @return \Grpc\BaseStub
9797
*/
98-
private function getClient()
98+
protected function getClient()
9999
{
100100
if ($this->client === null) {
101101
$this->client = new $this->clientClassName($this->config->hostname, [

0 commit comments

Comments
 (0)