Code Duplication    Length = 15-16 lines in 2 locations

src/API/SBDSummary.php 1 location

@@ 92-106 (lines=15) @@
89
     * @param float $FirstNightAdvDepositTaxes
90
     * @param float $FirstNightAdvDepositBeforeTaxes
91
     */
92
    public function __construct($RoomIndex, $TotalBeforeTaxes, $TotalTaxes, $InsuranceBeforeTaxes, $InsuranceTaxes, $ID_Currency, $ResortFeeBeforeTaxes, $ResortFeeTaxes, $TotalAdvDepositBeforeTaxes, $TotalAdvDepositTaxes, $FirstNightAdvDepositTaxes, $FirstNightAdvDepositBeforeTaxes)
93
    {
94
        $this->RoomIndex = $RoomIndex;
95
        $this->TotalBeforeTaxes = $TotalBeforeTaxes;
96
        $this->TotalTaxes = $TotalTaxes;
97
        $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes;
98
        $this->InsuranceTaxes = $InsuranceTaxes;
99
        $this->ID_Currency = $ID_Currency;
100
        $this->ResortFeeBeforeTaxes = $ResortFeeBeforeTaxes;
101
        $this->ResortFeeTaxes = $ResortFeeTaxes;
102
        $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes;
103
        $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes;
104
        $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes;
105
        $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes;
106
    }
107
108
    /**
109
     * @return int

src/API/SummarySBD.php 1 location

@@ 88-103 (lines=16) @@
85
     * @param int $ID_Currency
86
     * @param float $FolioA
87
     */
88
    public function __construct($RoomNo, $TotalBeforeTaxes, $TotalTaxes, $InsuranceBeforeTaxes, $InsuranceTaxes, $ResaFeeBeforeTaxes, $ResaFeeTaxes, $TotalAdvDepositBeforeTaxes, $TotalAdvDepositTaxes, $FirstNightAdvDepositBeforeTaxes, $FirstNightAdvDepositTaxes, $ID_Currency, $FolioA)
89
    {
90
        $this->RoomNo = $RoomNo;
91
        $this->TotalBeforeTaxes = $TotalBeforeTaxes;
92
        $this->TotalTaxes = $TotalTaxes;
93
        $this->InsuranceBeforeTaxes = $InsuranceBeforeTaxes;
94
        $this->InsuranceTaxes = $InsuranceTaxes;
95
        $this->ResaFeeBeforeTaxes = $ResaFeeBeforeTaxes;
96
        $this->ResaFeeTaxes = $ResaFeeTaxes;
97
        $this->TotalAdvDepositBeforeTaxes = $TotalAdvDepositBeforeTaxes;
98
        $this->TotalAdvDepositTaxes = $TotalAdvDepositTaxes;
99
        $this->FirstNightAdvDepositBeforeTaxes = $FirstNightAdvDepositBeforeTaxes;
100
        $this->FirstNightAdvDepositTaxes = $FirstNightAdvDepositTaxes;
101
        $this->ID_Currency = $ID_Currency;
102
        $this->FolioA = $FolioA;
103
    }
104
105
    /**
106
     * @return int