Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 247-256 (lines=10) @@
244
     *
245
     * @param string $dkNumber
246
     */
247
    protected function loadCustomerRefs($dkNumber)
248
    {
249
        if (!is_null($dkNumber)) {
250
            $this->customerRef = new MasterPricer\CustomerRef();
251
            $this->customerRef->customerReferences[] = new MasterPricer\CustomerReferences(
252
                $dkNumber,
253
                MasterPricer\CustomerReferences::QUAL_AGENCY_GROUPING_ID
254
            );
255
        }
256
    }
257
258
    private function loadFeeOptions($feeOptions)
259
    {

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

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