Passed
Branch query-builder (144da5)
by Csaba
02:37
created
src/Database/Clusterpoint/Finder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.