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/grpc/grpc/src/lib/BidiStreamingCall.php +2 -2 1.2.4 → 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;
20 +namespace Dudlewebs\WPMCS\GCP\Grpc;
21 21
22 22 /**
23 23 * Represents an active call that allows for sending and receiving messages
24 24 * in streams in any order.
@@ -62,9 +62,9 @@
62 62 */
63 63 public function write($data, array $options = [])
64 64 {
65 65 $message_array = ['message' => $this->_serializeMessage($data)];
66 - if (array_key_exists('flags', $options)) {
66 + if (\array_key_exists('flags', $options)) {
67 67 $message_array['flags'] = $options['flags'];
68 68 }
69 69 $this->call->startBatch([OP_SEND_MESSAGE => $message_array]);
70 70 }