@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | ['type' => get_class($this->client)] |
51 | 51 | ); |
52 | 52 | } |
53 | - $collection = $this->client->database($this->databaseName.'.'.$this->from); |
|
53 | + $collection = $this->client->database($this->databaseName . '.' . $this->from); |
|
54 | 54 | $this->setLimit($collection); |
55 | 55 | $this->setOffset($collection); |
56 | 56 | $this->setOrderBy($collection); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $this->setWhere($collection); |
59 | 59 | $items = json_decode(json_encode($collection->get()->toArray())); |
60 | 60 | $c = count($items); |
61 | - for ($i=0; $i<$c; $i++) { |
|
61 | + for ($i = 0; $i < $c; $i++) { |
|
62 | 62 | $this->resultSet[] = $items[$i]; |
63 | 63 | } |
64 | 64 | return $this; |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @codeCoverageIgnore |
77 | 77 | * Passing anonymous function to Clusterpoint API |
78 | 78 | */ |
79 | - return function ($collection) use ($conditions, $logical) { |
|
79 | + return function($collection) use ($conditions, $logical) { |
|
80 | 80 | $this->parseWhere($collection, $conditions, $logical); |
81 | 81 | }; |
82 | 82 | } |