Passed
Push — master ( d48415...51cd43 )
by Dāvis
03:41
created
Script/Repository/QuickInsertRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         self::getTable($object, $tableName, $columns, $type, $manager, $extraFields);
135 135
 
136 136
         $result = self::get(['table_name' => $tableName], true, ['id' => $id], ['*']);
137
-        if($result !== null) {
137
+        if ($result !== null) {
138 138
             unset($result['id']);
139 139
         } else {
140 140
             $result = [];
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $data = [];
143 143
 
144 144
         $flip = array_flip($columns);
145
-        if(!empty($result)) {
145
+        if (!empty($result)) {
146 146
             foreach ($result as $key => $value) {
147 147
                 $content = self::value($object, $key, $type, false);
148 148
                 if ($content !== $value) {
Please login to merge, or discard this patch.