Code Duplication    Length = 5-5 lines in 2 locations

src/Call/TradableAssetPairs/TradableAssetPairsResponse.php 2 locations

@@ 27-31 (lines=5) @@
24
    {
25
        foreach ($arr as $assetPair => $data) {
26
            $fees = [];
27
            if (isset($data["fees"])) {
28
                foreach ($data["fees"] as $feeData) {
29
                    $fees[] = new FeeModel($feeData[0], $feeData[1]);
30
                }
31
            }
32
            $feesMaker = [];
33
            if (isset($data["fees_maker"])) {
34
                foreach ($data["fees_maker"] as $feeData) {
@@ 33-37 (lines=5) @@
30
                }
31
            }
32
            $feesMaker = [];
33
            if (isset($data["fees_maker"])) {
34
                foreach ($data["fees_maker"] as $feeData) {
35
                    $feesMaker[] = new FeeModel($feeData[0], $feeData[1]);
36
                }
37
            }
38
            $this->tradableAssets[] = new AssetPairModel(
39
                $assetPair,
40
                $data["altname"],