@@ -187,8 +187,8 @@ |
||
187 | 187 | */ |
188 | 188 | protected function updateLightStack($newCount) |
189 | 189 | { |
190 | - $this->lightStack[$newCount - 1]['count']--; |
|
191 | - if (0 == $this->lightStack[$newCount - 1]['count']) { |
|
190 | + $this->lightStack[$newCount-1]['count']--; |
|
191 | + if (0 == $this->lightStack[$newCount-1]['count']) { |
|
192 | 192 | array_pop($this->lightStack); |
193 | 193 | } |
194 | 194 | } |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | // so we can't bail out early |
387 | 387 | $rawCount += $results->count(); |
388 | 388 | // now bolt on filtrate to accumulating result set if we haven't accumulated enough bitz |
389 | - if ($rawTop > $resultSet->count() + $skip) { |
|
389 | + if ($rawTop > $resultSet->count()+$skip) { |
|
390 | 390 | $resultSet = collect(array_merge($resultSet->all(), $results->all())); |
391 | 391 | $sliceAmount = min($skip, $resultSet->count()); |
392 | 392 | $resultSet = $resultSet->slice($sliceAmount); |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | if (QueryType::COUNT() == $qVal || QueryType::ENTITIES_WITH_COUNT() == $qVal) { |
462 | 462 | $result->count = $resultCount; |
463 | 463 | } |
464 | - $hazMore = $bulkSetCount > $skip + count($resultSet); |
|
464 | + $hazMore = $bulkSetCount > $skip+count($resultSet); |
|
465 | 465 | $result->hasMore = $hazMore; |
466 | 466 | } |
467 | 467 | } |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $kVal = $typeKind; |
76 | 76 | if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) { |
77 | 77 | $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE' |
78 | - .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
78 | + .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
79 | 79 | throw new InvalidOperationException($msg); |
80 | 80 | } |
81 | 81 | if (null == $result) { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | protected function checkClassMap($classMap) |
59 | 59 | { |
60 | 60 | if (!isset($classMap[__CLASS__])) { |
61 | - throw new \Exception(sprintf('%s was not found in autoload class map, this usually indicates you '. |
|
61 | + throw new \Exception(sprintf('%s was not found in autoload class map, this usually indicates you ' . |
|
62 | 62 | 'need to dump an opimized autoloader (`composer dump-autoload -o`)', __CLASS__)); |
63 | 63 | } |
64 | 64 | } |