Code Duplication    Length = 20-21 lines in 4 locations

src/API/GetSingleStayValue.php 1 location

@@ 112-131 (lines=20) @@
109
     * @param string $strLocationsGroupings
110
     * @param int $intBusinessSourceID
111
     */
112
    public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $strRateSpecial, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $dstElements, $intRoomQty, $IsInsuranceAccepted, $strAttributeGroupings, $strLocationsGroupings, $intBusinessSourceID)
113
    {
114
        $this->intGUID = $intGUID;
115
        $this->strISOLanguage = $strISOLanguage;
116
        $this->intRoomType = $intRoomType;
117
        $this->intRateID = $intRateID;
118
        $this->strRateSpecial = $strRateSpecial;
119
        $this->intGuestCount = $intGuestCount;
120
        $this->strChildren = $strChildren;
121
        $this->dArrDate = $dArrDate->format('Y-m-d');
122
        $this->dDepDate = $dDepDate->format('Y-m-d');
123
        $this->strAttributes = $strAttributes;
124
        $this->strLocations = $strLocations;
125
        $this->dstElements = $dstElements;
126
        $this->intRoomQty = $intRoomQty;
127
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
128
        $this->strAttributeGroupings = $strAttributeGroupings;
129
        $this->strLocationsGroupings = $strLocationsGroupings;
130
        $this->intBusinessSourceID = $intBusinessSourceID;
131
    }
132
133
    /**
134
     * @return int

src/API/GetSingleStayValueForUnit.php 1 location

@@ 118-138 (lines=21) @@
115
     * @param int $ID_Room
116
     * @param int $intBusinessSourceID
117
     */
118
    public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $strRateSpecial, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $dstElements, $intRoomQty, $IsInsuranceAccepted, $strAttributeGroupings, $strLocationsGroupings, $ID_Room, $intBusinessSourceID)
119
    {
120
        $this->intGUID = $intGUID;
121
        $this->strISOLanguage = $strISOLanguage;
122
        $this->intRoomType = $intRoomType;
123
        $this->intRateID = $intRateID;
124
        $this->strRateSpecial = $strRateSpecial;
125
        $this->intGuestCount = $intGuestCount;
126
        $this->strChildren = $strChildren;
127
        $this->dArrDate = $dArrDate->format('Y-m-d');
128
        $this->dDepDate = $dDepDate->format('Y-m-d');
129
        $this->strAttributes = $strAttributes;
130
        $this->strLocations = $strLocations;
131
        $this->dstElements = $dstElements;
132
        $this->intRoomQty = $intRoomQty;
133
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
134
        $this->strAttributeGroupings = $strAttributeGroupings;
135
        $this->strLocationsGroupings = $strLocationsGroupings;
136
        $this->ID_Room = $ID_Room;
137
        $this->intBusinessSourceID = $intBusinessSourceID;
138
    }
139
140
    /**
141
     * @return int

src/API/WebRes_GetResaStayValue.php 1 location

@@ 118-138 (lines=21) @@
115
     * @param TManualTypeBooking $TManualTypeBooking
116
     * @param TSBDSvcChargeStayStatus $TvlInsuranceStatus
117
     */
118
    public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $dstElements, $strSpecialOffers, $intRoomQty, $ID_ManualRateReason, $ID_Grp, $ID_PrivateGrid, $TManualTypeBooking, $TvlInsuranceStatus)
119
    {
120
        $this->intGUID = $intGUID;
121
        $this->strISOLanguage = $strISOLanguage;
122
        $this->intRoomType = $intRoomType;
123
        $this->intRateID = $intRateID;
124
        $this->intGuestCount = $intGuestCount;
125
        $this->strChildren = $strChildren;
126
        $this->dArrDate = $dArrDate->format('Y-m-d');
127
        $this->dDepDate = $dDepDate->format('Y-m-d');
128
        $this->strAttributes = $strAttributes;
129
        $this->strLocations = $strLocations;
130
        $this->dstElements = $dstElements;
131
        $this->strSpecialOffers = $strSpecialOffers;
132
        $this->intRoomQty = $intRoomQty;
133
        $this->ID_ManualRateReason = $ID_ManualRateReason;
134
        $this->ID_Grp = $ID_Grp;
135
        $this->ID_PrivateGrid = $ID_PrivateGrid;
136
        $this->TManualTypeBooking = $TManualTypeBooking;
137
        $this->TvlInsuranceStatus = $TvlInsuranceStatus;
138
    }
139
140
    /**
141
     * @return int

src/API/WebRes_GetResaStayValueWebRes.php 1 location

@@ 118-138 (lines=21) @@
115
     * @param TManualTypeBooking $TManualTypeBooking
116
     * @param TSBDSvcChargeStayStatus $TvlInsuranceStatus
117
     */
118
    public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $dstElements, $strSpecialOffers, $intRoomQty, $ID_ManualRateReason, $ID_Grp, $ID_PrivateGrid, $TManualTypeBooking, $TvlInsuranceStatus)
119
    {
120
        $this->intGUID = $intGUID;
121
        $this->strISOLanguage = $strISOLanguage;
122
        $this->intRoomType = $intRoomType;
123
        $this->intRateID = $intRateID;
124
        $this->intGuestCount = $intGuestCount;
125
        $this->strChildren = $strChildren;
126
        $this->dArrDate = $dArrDate->format('Y-m-d');
127
        $this->dDepDate = $dDepDate->format('Y-m-d');
128
        $this->strAttributes = $strAttributes;
129
        $this->strLocations = $strLocations;
130
        $this->dstElements = $dstElements;
131
        $this->strSpecialOffers = $strSpecialOffers;
132
        $this->intRoomQty = $intRoomQty;
133
        $this->ID_ManualRateReason = $ID_ManualRateReason;
134
        $this->ID_Grp = $ID_Grp;
135
        $this->ID_PrivateGrid = $ID_PrivateGrid;
136
        $this->TManualTypeBooking = $TManualTypeBooking;
137
        $this->TvlInsuranceStatus = $TvlInsuranceStatus;
138
    }
139
140
    /**
141
     * @return int