Code Duplication    Length = 12-12 lines in 2 locations

src/Call/TradeVolume/TradeVolumeResponse.php 2 locations

@@ 40-51 (lines=12) @@
37
        $this->volume = $result["volume"];
38
39
40
        if (isset($result["fees"])) {
41
            foreach ($result["fees"] as $fee) {
42
                $this->fees[] = new FeeModel(
43
                    $fee["fee"],
44
                    $fee["minfee"],
45
                    $fee["maxfee"],
46
                    $fee["nextfee"],
47
                    $fee["nextvolume"],
48
                    $fee["tiervolume"]
49
                );
50
            }
51
        }
52
53
        if (isset($result["fees_maker"])) {
54
            foreach ($result["fees_maker"] as $fee) {
@@ 53-64 (lines=12) @@
50
            }
51
        }
52
53
        if (isset($result["fees_maker"])) {
54
            foreach ($result["fees_maker"] as $fee) {
55
                $this->feesMaker[] = new FeeModel(
56
                    $fee["fee"],
57
                    $fee["minfee"],
58
                    $fee["maxfee"],
59
                    $fee["nextfee"],
60
                    $fee["nextvolume"],
61
                    $fee["tiervolume"]
62
                );
63
            }
64
        }
65
    }
66
67
    /**