Code Duplication    Length = 3-3 lines in 2 locations

src/DbRow.php 2 locations

@@ 347-349 (lines=3) @@
344
                    throw TDBMMissingReferenceException::referenceDeleted($this->dbTableName, $reference);
345
                }
346
                $pkValues = array_values($firstRefDbRow->_getPrimaryKeys());
347
                for ($i = 0, $count = count($localColumns); $i < $count; ++$i) {
348
                    $dbRow[$localColumns[$i]] = $pkValues[$i];
349
                }
350
            } else {
351
                for ($i = 0, $count = count($localColumns); $i < $count; ++$i) {
352
                    $dbRow[$localColumns[$i]] = null;
@@ 351-353 (lines=3) @@
348
                    $dbRow[$localColumns[$i]] = $pkValues[$i];
349
                }
350
            } else {
351
                for ($i = 0, $count = count($localColumns); $i < $count; ++$i) {
352
                    $dbRow[$localColumns[$i]] = null;
353
                }
354
            }
355
        }
356