@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | ); |
| 52 | 52 | } |
| 53 | 53 | $collection = $this->client->database( |
| 54 | - $this->queryConfiguration->databaseName. |
|
| 55 | - '.'. |
|
| 54 | + $this->queryConfiguration->databaseName . |
|
| 55 | + '.' . |
|
| 56 | 56 | $this->queryConfiguration->from |
| 57 | 57 | ); |
| 58 | 58 | $this->setLimit($collection); |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $this->setWhere($collection); |
| 63 | 63 | $items = json_decode(json_encode($collection->get()->toArray())); |
| 64 | 64 | $c = count($items); |
| 65 | - for ($i=0; $i<$c; $i++) { |
|
| 65 | + for ($i = 0; $i < $c; $i++) { |
|
| 66 | 66 | $this->resultSet[] = $items[$i]; |
| 67 | 67 | } |
| 68 | 68 | return $this; |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * @codeCoverageIgnore |
| 81 | 81 | * Passing anonymous function to Clusterpoint API |
| 82 | 82 | */ |
| 83 | - return function ($collection) use ($conditions, $logical) { |
|
| 83 | + return function($collection) use ($conditions, $logical) { |
|
| 84 | 84 | $this->parseWhere($collection, $conditions, $logical); |
| 85 | 85 | }; |
| 86 | 86 | } |