@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | public function batchPublish(array $messages) |
71 | 71 | { |
72 | 72 | $records = aray(); |
73 | - foreach($messages as $message) { |
|
73 | + foreach ($messages as $message) { |
|
74 | 74 | $records[] = array( |
75 | 75 | 'Data' => $message['msgBody'], |
76 | 76 | 'PartitionKey' => $message['routingKey'] |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | */ |
122 | 122 | public function setContentType($contentType) |
123 | 123 | { |
124 | - if($contentType != 'application/json') { |
|
124 | + if ($contentType != 'application/json') { |
|
125 | 125 | throw new \Exception("Unsupported content-type for message serialization: $contentType. Only 'application/json' is supported"); |
126 | 126 | } |
127 | 127 |