Code Duplication    Length = 10-10 lines in 2 locations

src/Amadeus/Client/Struct/Fare/MasterPricerExpertSearch.php 1 location

@@ 226-235 (lines=10) @@
223
     *
224
     * @param string $dkNumber
225
     */
226
    protected function loadCustomerRefs($dkNumber)
227
    {
228
        if (!is_null($dkNumber)) {
229
            $this->customerRef = new MasterPricer\CustomerRef();
230
            $this->customerRef->customerReferences[] = new MasterPricer\CustomerReferences(
231
                $dkNumber,
232
                MasterPricer\CustomerReferences::QUAL_AGENCY_GROUPING_ID
233
            );
234
        }
235
    }
236
237
    private function loadFeeOptions($feeOptions)
238
    {

src/Amadeus/Client/Struct/Fare/MasterPricerTravelBoardSearch.php 1 location

@@ 262-271 (lines=10) @@
259
     *
260
     * @param string $dkNumber
261
     */
262
    protected function loadCustomerRefs($dkNumber)
263
    {
264
        if (!is_null($dkNumber)) {
265
            $this->customerRef = new MasterPricer\CustomerRef();
266
            $this->customerRef->customerReferences[] = new MasterPricer\CustomerReferences(
267
                $dkNumber,
268
                MasterPricer\CustomerReferences::QUAL_AGENCY_GROUPING_ID
269
            );
270
        }
271
    }
272
273
    private function loadFeeOptions($feeOptions)
274
    {