Passed
Push — master ( 7b3d17...8aa822 )
by
unknown
02:10
created
src/Manticoresearch/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         self::checkDocumentId($id);
74 74
         if (is_object($data)) {
75
-            $data = (array) $data;
75
+            $data = (array)$data;
76 76
         } elseif (is_string($data)) {
77 77
             $data = json_decode($data, true);
78 78
         }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $toinsert = [];
96 96
         foreach ($documents as $document) {
97 97
             if (is_object($document)) {
98
-                $document = (array) $document;
98
+                $document = (array)$document;
99 99
             } elseif (is_string($document)) {
100 100
                 $document = json_decode($document, true);
101 101
             }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     {
190 190
         self::checkDocumentId($id);
191 191
         if (is_object($data)) {
192
-            $data = (array) $data;
192
+            $data = (array)$data;
193 193
         } elseif (is_string($data)) {
194 194
             $data = json_decode($data, true);
195 195
         }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $toreplace = [];
212 212
         foreach ($documents as $document) {
213 213
             if (is_object($document)) {
214
-                $document = (array) $document;
214
+                $document = (array)$document;
215 215
             } elseif (is_string($document)) {
216 216
                 $document = json_decode($document, true);
217 217
             }
Please login to merge, or discard this patch.