@@ -134,7 +134,7 @@ discard block |
||
| 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 |
||
| 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) { |