Completed
Pull Request — master (#185)
by Christopher
03:45
created
src/POData/BatchProcessor/BatchProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function getResponse()
57 57
     {
58 58
         $response = '';
59
-        $splitter =  '--' . $this->batchBoundary . "\r\n";
59
+        $splitter = '--' . $this->batchBoundary . "\r\n";
60 60
         $raw = $this->ChangeSetProcessors;
61 61
         foreach ($raw as $contentID => &$workingObject) {
62 62
             $response .= $splitter;
Please login to merge, or discard this patch.
src/POData/BatchProcessor/ChangeSetParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     protected $changeSetBoundary;
13 13
     protected $rawRequests = [];
14 14
     protected $service;
15
-    protected $ContentIDToLocationLookup =[];
15
+    protected $ContentIDToLocationLookup = [];
16 16
 
17 17
     public function __construct(BaseService $service, $body)
18 18
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
                         }
130 130
                         $headerSides = explode(':', $line);
131 131
                         if (count($headerSides) != 2) {
132
-                            throw new \Exception('Malformed header line: '.$line);
132
+                            throw new \Exception('Malformed header line: ' . $line);
133 133
                         }
134 134
                         if (strtolower(trim($headerSides[0])) == strtolower('Content-ID')) {
135 135
                             $contentID = trim($headerSides[1]);
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             if ($contentIDinit == $contentID) {
157 157
                 $contentIDinit--;
158 158
             }
159
-            $this->rawRequests[$contentID] = (object)[
159
+            $this->rawRequests[$contentID] = (object) [
160 160
                 'RequestVerb' => $RequestPathParts[0],
161 161
                 'RequestURL' => $RequestPathParts[1],
162 162
                 'ServerParams' => $serverParts,
Please login to merge, or discard this patch.