Passed
Branch query-builder (d1edb7)
by Csaba
02:43
created
src/Database/Clusterpoint/Finder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,14 +60,14 @@  discard block
 block discarded – undo
60 60
             );
61 61
         }
62 62
         $collection = $this->client->database(
63
-            $this->queryConfiguration->databaseName.
64
-            '.'.
63
+            $this->queryConfiguration->databaseName .
64
+            '.' .
65 65
             $this->queryConfiguration->from
66 66
         );
67 67
         $this->configQuery($collection);
68 68
         $items = json_decode(json_encode($collection->get()->toArray()));
69 69
         $count = count($items);
70
-        for ($idx=0; $idx<$count; $idx++) {
70
+        for ($idx = 0; $idx < $count; $idx++) {
71 71
             $this->resultSet[] = $items[$idx];
72 72
         }
73 73
         return $this;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
       * @codeCoverageIgnore
86 86
       * Passing anonymous function to Clusterpoint API
87 87
       */
88
-        return function ($collection) use ($conditions, $logical) {
88
+        return function($collection) use ($conditions, $logical) {
89 89
             $this->parseWhere($collection, $conditions, $logical);
90 90
         };
91 91
     }
Please login to merge, or discard this patch.