Code Duplication    Length = 7-8 lines in 2 locations

lib/Caxy/HtmlDiff/Operation.php 1 location

@@ 13-20 (lines=8) @@
10
    public $startInNew;
11
    public $endInNew;
12
13
    public function __construct($action, $startInOld, $endInOld, $startInNew, $endInNew)
14
    {
15
        $this->action = $action;
16
        $this->startInOld = $startInOld;
17
        $this->endInOld = $endInOld;
18
        $this->startInNew = $startInNew;
19
        $this->endInNew = $endInNew;
20
    }
21
}
22

lib/Caxy/HtmlDiff/Table/TableMatch.php 1 location

@@ 36-42 (lines=7) @@
33
     * @param int $endInOld
34
     * @param int $endInNew
35
     */
36
    public function __construct($startInOld, $startInNew, $endInOld, $endInNew)
37
    {
38
        $this->startInOld = $startInOld;
39
        $this->startInNew = $startInNew;
40
        $this->endInOld = $endInOld;
41
        $this->endInNew = $endInNew;
42
    }
43
44
    /**
45
     * @return int