PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← 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;