Passed
Pull Request — master (#245)
by Christopher
03:18
created
src/POData/Readers/Atom/Processors/FeedProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     public function handleStartMetadataCount()
98 98
     {
99 99
         $this->enqueueEnd(function () {
100
-            $this->oDataFeed->rowCount = (int)$this->popCharData();
100
+            $this->oDataFeed->rowCount = (int) $this->popCharData();
101 101
         });
102 102
     }
103 103
 
Please login to merge, or discard this patch.
src/POData/UriProcessor/QueryProcessor/OrderByParser/OrderByLeafNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
             if ($flag1 && $flag2) {
137 137
                 return 0;
138 138
             } elseif ($flag1) {
139
-                return $ascend * -1;
139
+                return $ascend*-1;
140 140
             } elseif ($flag2) {
141
-                return $ascend * 1;
141
+                return $ascend*1;
142 142
             }
143 143
             $type = $this->resourceProperty->getInstanceType();
144 144
             if ($type instanceof DateTime) {
@@ -149,10 +149,10 @@  discard block
 block discarded – undo
149 149
                 $result = strcmp($accessor1, $accessor2);
150 150
             } else {
151 151
                 $delta = $accessor1 - $accessor2;
152
-                $result = (0 == $delta) ? 0 : $delta / abs($delta);
152
+                $result = (0 == $delta) ? 0 : $delta/abs($delta);
153 153
             }
154 154
 
155
-            return $ascend * $result;
155
+            return $ascend*$result;
156 156
         };
157 157
 
158 158
         return $retVal;
Please login to merge, or discard this patch.
UriProcessor/QueryProcessor/SkipTokenParser/InternalSkipTokenInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
         $searchArraySize = count($searchArray) - 1;
144 144
         $high = $searchArraySize;
145 145
         do {
146
-            $mid = intval($low + round(($high - $low) / 2));
146
+            $mid = intval($low + round(($high - $low)/2));
147 147
             $result = $comparer($keyObject, $searchArray[$mid]);
148 148
             if ($result > 0) {
149 149
                 $low = $mid + 1;
Please login to merge, or discard this patch.