Completed
Push — master ( 924743...4f638f )
by Gaetano
03:52
created
Adapter/Kinesis/Producer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.