Code Duplication    Length = 11-11 lines in 2 locations

src/MergeResult.php 2 locations

@@ 83-93 (lines=11) @@
80
        return count($this->content);
81
    }
82
83
    public function countBase()
84
    {
85
        $counter = 0;
86
        foreach ($this->content as $value) {
87
            if (isset($value['base'])) {
88
                $counter++;
89
            }
90
        }
91
92
        return $counter;
93
    }
94
95
    public function countCurrent()
96
    {
@@ 95-105 (lines=11) @@
92
        return $counter;
93
    }
94
95
    public function countCurrent()
96
    {
97
        $counter = 0;
98
        foreach ($this->content as $value) {
99
            if (isset($value['current'])) {
100
                $counter++;
101
            }
102
        }
103
104
        return $counter;
105
    }
106
107
    public function countNew()
108
    {