Passed
Push — master ( 6b2315...ecb363 )
by Adrian
04:45 queued 02:50
created
src/Manticoresearch/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public function addDocument($data, $id = 0)
54 54
     {
55 55
         if (is_object($data)) {
56
-            $data = (array) $data;
56
+            $data = (array)$data;
57 57
         } elseif (is_string($data)) {
58 58
             $data = json_decode($data, true);
59 59
         }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $toinsert = [];
77 77
         foreach ($documents as $document) {
78 78
             if (is_object($document)) {
79
-                $document = (array) $document;
79
+                $document = (array)$document;
80 80
             } elseif (is_string($document)) {
81 81
                 $document = json_decode($document, true);
82 82
             }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     public function replaceDocument($data, $id)
167 167
     {
168 168
         if (is_object($data)) {
169
-            $data = (array) $data;
169
+            $data = (array)$data;
170 170
         } elseif (is_string($data)) {
171 171
             $data = json_decode($data, true);
172 172
         }
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $toreplace = [];
189 189
         foreach ($documents as $document) {
190 190
             if (is_object($document)) {
191
-                $document = (array) $document;
191
+                $document = (array)$document;
192 192
             } elseif (is_string($document)) {
193 193
                 $document = json_decode($document, true);
194 194
             }
Please login to merge, or discard this patch.