@@ -97,7 +97,7 @@ |
||
| 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 | |
@@ -136,9 +136,9 @@ discard block |
||
| 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 |
||
| 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; |
@@ -143,7 +143,7 @@ |
||
| 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; |