Completed
Push — master ( 8c7d31...eb5362 )
by René
08:07 queued 07:29
created

getShipmentItemCollectionFieldNames()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
nc 1
nop 0
cc 1
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
declare(strict_types = 1);
9
10
namespace Pyz\Zed\PaymentAppShipment;
11
12
use Generated\Shared\Transfer\QuoteTransfer;
13
use Spryker\Zed\PaymentAppShipment\PaymentAppShipmentConfig as SprykerPaymentAppShipmentConfig;
14
15
class PaymentAppShipmentConfig extends SprykerPaymentAppShipmentConfig
16
{
17
    /**
18
     * @var array<string, string>
19
     */
20
    protected const EXPRESS_CHECKOUT_SHIPMENT_METHODS_INDEXED_BY_PAYMENT_METHOD = [
21
        'payone-paypal-express' => 'spryker_dummy_shipment-standard',
22
    ];
23
24
    /**
25
     * @return list<string>
26
     */
27
    public function getShipmentItemCollectionFieldNames(): array
28
    {
29
        return [
0 ignored issues
show
Bug Best Practice introduced by
The expression return array(Generated\S...Transfer::BUNDLE_ITEMS) returns the type array which is incompatible with the documented return type Pyz\Zed\PaymentAppShipment\list.
Loading history...
30
            QuoteTransfer::BUNDLE_ITEMS,
31
        ];
32
    }
33
}
34