Code Duplication    Length = 3-6 lines in 2 locations

source/CompareResults.php 2 locations

@@ 73-78 (lines=6) @@
70
                                ];
71
                            }
72
                        }
73
                    } else {
74
                        $row[$this->buildKey([$key, $ky2])] = [
75
                            $pSq[0] => $vl2,
76
                            $pSq[1] => $this->emptyIfNotSet($ndAry[$key][$ky2]),
77
                        ];
78
                    }
79
                }
80
            } else {
81
                $row[$this->buildKey([$key])] = [$pSq[0] => $val, $pSq[1] => $this->emptyIfNotSet($ndAry[$key])];
@@ 80-82 (lines=3) @@
77
                        ];
78
                    }
79
                }
80
            } else {
81
                $row[$this->buildKey([$key])] = [$pSq[0] => $val, $pSq[1] => $this->emptyIfNotSet($ndAry[$key])];
82
            }
83
        }
84
        return $row;
85
    }