← All changes
|
includes/sdk/google/google/grpc-gcp/src/ChannelRef.php
+2
-2
1.1.0
→
1.4.2
View file →
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | * See the License for the specific language governing permissions and |
| 17 | 17 | * limitations under the License. |
| 18 | 18 | * |
| 19 | 19 | */ |
| 20 | -namespace Dudlewebs\WPMCS\Grpc\Gcp; | |
| 20 | +namespace Dudlewebs\WPMCS\GCP\Grpc\Gcp; | |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * ChannelRef is used to record how many active streams the channel has. |
| 24 | 24 | * This is a private class |
| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | // Since [target + augments + credentials] will be the same during the recreation, |
| 57 | 57 | // it will reuse the underline grpc channel in C extension without creating a |
| 58 | 58 | // new connection. |
| 59 | 59 | // 'credentials' in the array $opts will be unset during creating the channel. |
| 60 | - if (!array_key_exists('credentials', $this->opts)) { | |
| 60 | + if (!\array_key_exists('credentials', $this->opts)) { | |
| 61 | 61 | $this->opts['credentials'] = $credentials; |
| 62 | 62 | } |
| 63 | 63 | $real_channel = new \Grpc\Channel($this->target, $this->opts); |
| 64 | 64 | $this->real_channel = $real_channel; |