Code Duplication    Length = 3-3 lines in 2 locations

src/DbRow.php 2 locations

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