Code Duplication    Length = 5-5 lines in 2 locations

src/ZohoDatabasePusher.php 2 locations

@@ 130-134 (lines=5) @@
127
                            continue;
128
                        }
129
130
                        if (isset($zohoBeans[$record['uid']])) {
131
                            $zohoBean = $zohoBeans[$record['uid']];
132
                        } else {
133
                            $zohoBean = $zohoDao->create();
134
                        }
135
136
                        if ($record['id'] && !$zohoBean->getZohoId()) {
137
                            $zohoBean->setZohoId($record['id']);
@@ 213-217 (lines=5) @@
210
                            continue;
211
                        }
212
213
                        if (isset($zohoBeans[$record['uid']])) {
214
                            $zohoBean = $zohoBeans[$record['uid']];
215
                        } else {
216
                            $zohoBean = $zohoDao->create();
217
                        }
218
219
                        $this->logger->debug(sprintf('New row with uid %s from table %s added in queue to be pushed.', $record['uid'], $tableName));
220
                        $this->insertDataZohoBean($zohoDao, $zohoBean, $record);