Passed
Pull Request — master (#255)
by Christopher
05:20 queued 01:52
created
src/POData/BatchProcessor/ChangeSetParser.php 1 patch
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -116,8 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
         $response = '';
118 118
         $splitter = false === $this->changeSetBoundary ?
119
-            '' :
120
-            '--' . $this->changeSetBoundary . $ODataEOL;
119
+            '' : '--' . $this->changeSetBoundary . $ODataEOL;
121 120
         $raw = $this->getRawRequests();
122 121
         foreach ($raw as $contentID => &$workingObject) {
123 122
             $headers = $workingObject->outgoingResponse()->getHeaders();
@@ -139,16 +138,14 @@  discard block
 block discarded – undo
139 138
         }
140 139
         $response .= trim($splitter);
141 140
         $response .= false === $this->changeSetBoundary ?
142
-            $ODataEOL :
143
-            '--' . $ODataEOL;
141
+            $ODataEOL : '--' . $ODataEOL;
144 142
         $response = 'Content-Length: ' .
145 143
             strlen($response) .
146 144
             $ODataEOL .
147 145
             $ODataEOL .
148 146
             $response;
149 147
         $response = false === $this->changeSetBoundary ?
150
-            $response :
151
-            'Content-Type: multipart/mixed; boundary=' .
148
+            $response : 'Content-Type: multipart/mixed; boundary=' .
152 149
             $this->changeSetBoundary .
153 150
             $ODataEOL .
154 151
             $response;
Please login to merge, or discard this patch.