← 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 | } |