@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | foreach ($orderBy->getOrderByInfo()->getOrderByPathSegments() as $order) { |
| 101 | 101 | foreach ($order->getSubPathSegments() as $subOrder) { |
| 102 | 102 | $subName = $subOrder->getName(); |
| 103 | - $subName = $tableName.'.'.$subName; |
|
| 103 | + $subName = $tableName . '.' . $subName; |
|
| 104 | 104 | $sourceEntityInstance = $sourceEntityInstance->orderBy( |
| 105 | 105 | $subName, |
| 106 | 106 | $order->isAscending() ? 'asc' : 'desc' |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | assert(is_string($line), 'Eager-load elements must be non-empty strings'); |
| 421 | 421 | $lineParts = explode('/', $line); |
| 422 | 422 | $numberOfParts = count($lineParts); |
| 423 | - for ($i = 0; $i<$numberOfParts; $i++) { |
|
| 423 | + for ($i = 0; $i < $numberOfParts; $i++) { |
|
| 424 | 424 | $lineParts[$i] = $this->getLaravelRelationName($lineParts[$i]); |
| 425 | 425 | } |
| 426 | 426 | $remixLine = implode('.', $lineParts); |
@@ -501,7 +501,7 @@ discard block |
||
| 501 | 501 | // so we can't bail out early |
| 502 | 502 | $rawCount += $results->count(); |
| 503 | 503 | // now bolt on filtrate to accumulating result set if we haven't accumulated enough bitz |
| 504 | - if ($rawTop > $resultSet->count() + $skip) { |
|
| 504 | + if ($rawTop > $resultSet->count()+$skip) { |
|
| 505 | 505 | $resultSet = collect(array_merge($resultSet->all(), $results->all())); |
| 506 | 506 | $sliceAmount = min($skip, $resultSet->count()); |
| 507 | 507 | $resultSet = $resultSet->slice($sliceAmount); |